Hi,
I have been fighting with this and I think I am doing something wrong.
I live in Canada and therefore need iptables to use Chromecast with Hulu Plus and Netflix US.
I put this into /jffs/scripts/nat-start
#!/bin/sh
sleep 1
iptables -I PREROUTING -t nat -p udp -s 192.168.1.125 --dport 53 -j DNAT --to-destination 69.42.56.54
iptables -I PREROUTING -t nat -p udp -s 192.168.1.130 --dport 53 -j DNAT --to-destination 69.42.56.54
I have 2 Chromecasts so one iptable for each. When I reboot the router these do not work. If I manually telnet in and type sh /jffs/scripts/nat-start then it works.
What am I doing wrong?
Kryspy
I have been fighting with this and I think I am doing something wrong.
I live in Canada and therefore need iptables to use Chromecast with Hulu Plus and Netflix US.
I put this into /jffs/scripts/nat-start
#!/bin/sh
sleep 1
iptables -I PREROUTING -t nat -p udp -s 192.168.1.125 --dport 53 -j DNAT --to-destination 69.42.56.54
iptables -I PREROUTING -t nat -p udp -s 192.168.1.130 --dport 53 -j DNAT --to-destination 69.42.56.54
I have 2 Chromecasts so one iptable for each. When I reboot the router these do not work. If I manually telnet in and type sh /jffs/scripts/nat-start then it works.
What am I doing wrong?
Kryspy