[arch-general] iptables script

F. Gr. frgroccia at gmail.com
Wed Sep 11 07:20:33 EDT 2013


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20130911/39b56300/attachment.asc>


More information about the arch-general mailing list