I want to make an iptable rule permanent so if the server is rebooted I won't have to add the rule again.
Specifically a rule I have related to nginx being reverse proxy of apache.
iptables -t nat -A PREROUTING -p tcp -s ! 266.266.266.266 --dport 80 -j REDIRECT --to-ports 85
I tried iptables-save
but either I didn't use the correct files or it doesn't work for me.
Note that I use directadmin control panel for the server as well as http://configserver.com/cp/csf.html
So there is a possibility those interfere, since the rules were not there even though there wasn't any server reboot several times.