[plug] Show the running iptables

Ryan King ryank at globaldial.com
Wed Apr 13 10:59:49 WST 2005


On Wed, 2005-04-13 at 10:50 +0800, Matthew Lambie wrote:
> Is there a command that will export the *current* state of an iptables
> firewall back into the individual rules that you need to run to create
> that state?
> 

iptables-save > filename
iptables-restore < filename

Ryan King




More information about the plug mailing list