Skip to contentSkip to conversation

IPtables does not save it's settings

DISCUSSION Ronald 2 participants 2 messages Jan 23, 2007

lore
Share & tools
lore

Ronald

author
#0 lore raw

Since a week, I have been trying to figure out how iptables works. I really like the program, it's nice and stable. However, since my last changes the firewall doesn't seem to save the changes I make. Everytime I reboot, my changes are reversed. What could have caused this?

#1 lore raw
Quoted 4 lines · Ronald

Since a week, I have been trying to figure out how iptables works. I really like the program, it's nice and stable. However, since my last changes the firewall doesn't seem to save the changes I make. Everytime I reboot, my changes are reversed. What could have caused this?

It's designed to work that way. Use iptables-save to write your config to a file and iptables-restore read it back out.

Cheers,
-Ted