Re: iptables script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux