On 11/21/2013 7:36 AM, Tom Eastep wrote:
> On 11/21/2013 4:43 AM, Dirk Hoppe wrote:
>> Hi,
>>
>> i deleted unfortunately some of my settings in /etc/shorewall/
>>
>> masq
>> interfaces
>> rules
>> policy
>> routestopped
>>
>> after i noticed the mistake i saved the running config with the command 
>> "shorewall save".
>>
>> Do i have the possibility to restore the upper config files from the 
>> "restore"?
>>
> 
> You would have to look at the saved output and construct file entries
> that generated those rules. There is no automated process.

Note also that the output of 'shorewall dump' is more inclusive than
simply doing a 'save'. With 'save', you have to read the generated
script to see some of the settings; in a dump, all settings are visible.

-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 \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to