Is a reboot required after edit/saving linux iptables?

If I edit iptables and then save them then must I reboot for changes to take place?


Solution 1:

Changes to iptables take effect immediately when they are run.

However, your language of "edit and save" makes me think you are editing a conf file or script of some kind rather than actually running the iptables commands.

If you are making your changes in a script, you must make sure that script gets run in order for the changes to take affect. The rules are enforced as soon as the actual commands are sent to the kernel. You will need to figure out how to run the script or apply whatever conf changes you have saved to a file.