11 Sep
2013
11 Sep
'13
1:20 p.m.
Jakub Klinkovský [2013-09-10 20:01:01+0200]: [...]
I don't know how you use the script, but you might consider using the 'iptables-restore' command to switch between multiple iptables configurations. If you still want to use the iptables.service, you can make the file /etc/iptables/iptables.rules a symlink and change its target to change the configuration. You can run 'iptables-save > foo.rules' to save current iptables configuration, edit the file to your liking (adding comments etc.), and finally run 'iptables-restore < foo.rules' to load the saved configuration.
I did that.
Regards, Jakub Klinkovský (Lahwaacz)
Thanks, your explanation was clear.