Quantcast
Channel: IP Tables won't save the rule - Super User
Viewing all articles
Browse latest Browse all 2

Answer by nictrix for IP Tables won't save the rule

$
0
0

I didn't see the exact save method, so make sure you are doing this:

iptables-save > /etc/iptables/iptables.rules

Then restart and it should keep whatever rules you created before the save.

Also the file I use to save rules is different, I'm not sure about ArchLinux, but in Ubuntu its here:

/etc/iptables.rules

One other question to ask is there anything else running that would modify iptables? e.g. Shorewall


Viewing all articles
Browse latest Browse all 2

Trending Articles