[Cerowrt-devel] DirecTV Video-on-demand broken

Jim Reisert AD1C jjreisert at alum.mit.edu
Sat Jul 5 08:51:16 PDT 2014


On Wed, Jul 2, 2014 at 1:07 PM, Dane Medic wrote:

> I have also experienced some difficulties with port forwarding via luci in
> the past. What I did then was add these lines in the /etc/rc.local:
>
> iptables -A INPUT -p tcp --dport 17825 -j ACCEPT
> iptables -A INPUT -p udp --dport 17825 -j ACCEPT
> iptables -A FORWARD -i ge00 -p tcp --dport 17825 -j ACCEPT
> iptables -A FORWARD -i ge00 -p udp --dport 17825 -j ACCEPT
> iptables -t nat -A PREROUTING -i ge00 -p tcp -d $PUBLIC_IP --dport 17825 -j
> DNAT --to 172.20.0.80:17825
> iptables -t nat -A PREROUTING -i ge00 -p udp -d $PUBLIC_IP --dport 17825 -j
> DNAT --to 172.20.0.80:17825

I could not get this to work in CeroWRT - it didn't recognize --dport

This is what I have at the end of /etc/config/firewall:

config redirect
        option target 'ACCEPT'
        option src 'wan'
        option src_dport '1701'
        option dest_ip '172.30.43.20'
        option dest_port '1701'
        option name 'DirecTV'
        option proto 'tcp udp'
        option dest '*'

Is this correct?  It still doesn't seem that port forwarding is
working.  Unless this isn't the *only* problem.

-- 
Jim Reisert AD1C, <jjreisert at alum.mit.edu>, http://www.ad1c.us


More information about the Cerowrt-devel mailing list