Hi, i have a squid with authentication and i want to create a rule for GREEN interface to everithing in port 80 redirect to port 3128, i know the command ( iptables -t nat -A PREROUTING -i br0 -p tcp --dport 3128 -j REDIRECT --to 3128 ) but where i can put this in endian to every reboot its work ?
Method 1
1) Make a script and link to /etc/init.d/
2) Use chkconfig command to add and load on specific runlevel.
Method 2
1) Add the command in file rc.local, but I didn't found rc.local in EFW 2.5...