On 05/24/2012 07:39 AM, [email protected] 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 [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
