.....
6. Add web traffic interception rule to iptables.
Quote:
echo \#!/bin/sh > /jffs/scripts/firewall-start
echo iptables -t nat -A PREROUTING --source 192.168.0.101 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128 >> /jffs/scripts/firewall-start
chmod +x /jffs/scripts/firewall-start
where 192.168.0.101 is an IP address from step above.
Reboot router and check web surfing on chosen device.
If you want to change AdBlock subscriptions, please remove old ones first:
then repeat step #4 only.
I cannot seem to get past this point 6. I am not clear what I need to do. I see the file called 'firewall-start'. It only contains one line:
#!/bin/sh
I replaced it with the entire part from what is in quotes above (and updated the IP address to the one for my device).
However after rebooting the router, adblocking still does not work and the the 'firewall-start' file has changed back to the one line from above.
What am I doing wrong??