shorewall-users May 2012 archive
Main Archive Page > Month Archives  > shorewall-users archives
shorewall-users: Re: [Shorewall-users] Absent-minded admin + mul

Re: [Shorewall-users] Absent-minded admin + multi isp

From: Tom Eastep <teastep_at_nospam>
Date: Thu May 24 2012 - 14:44:26 GMT
To: shorewall-users@lists.sourceforge.net

On 05/24/2012 07:39 AM, emilianovazquez@gmail.com wrote:
> Tom where go the files "saved" with shorewall save command?
>
> If the restart command is not working the previos saved files go up again and lost the configuration in /etc/shorewall?
>

The files from /etc/shorewall are *not* saved. Rather, the compiled
firewall script (/var/lib/shorewall/firewall) is copied to
/var/lib/shorewall/restore (default name) and the current iptables
contents are saved to /var/lib/shorewall/restore-iptables (again, the
default name).

You can override the default name by typing 'shorewall save <filename>'
or you can change it globally using the RESTOREFILE setting in
shorewall.conf.

A saved configuration may be reactivated using the 'restore' command.

-Tom
-- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users