Hi,

I'm trying to do the following but I'm not getting anywhere!:

shorewall-exports/test/rules:

?IF $ENABLE_RULE
    Execute that bit of code
?ENDIF

$ shorewall remote-reload

Firewall system:

$ ENABLE_RULE=Yes shorewall-lite reload

Obviously, the above doesn't work and I'm wandering if there is a way to
pass an environmental variable to shorewall-lite.

The switch column in /etc/shorewall/rules is not an option.

In other words: Is there a way to inable/disable rules on a firewall
system without having todo 'shorewall remote-reload' on the
administrative system (dinamic non-address variable)?

-Matt
-- 
Matt Darfeuille

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to