On Sat, 3 Aug 2002, j2 wrote:
> The docs says that various bits can be sourced into the config to extend
> shorewall, but even tho i know how the source mechanism works, i am not
sure
> what differs such a script from a normal one.. does anyone have a working
> code snippet that i could take a look at? I simply want to execute a few
> commands on each state change of shorewall (for now the same commands for
> every state change).
>
These scripts just include commands as you would type them at the command
prompt. You don''t need any #! heading.
[root@gateway root]# cat /etc/shorewall/stopped
ip route add 206.124.146.177 dev eth1
[root@gateway root]#
-Tom
--
Tom Eastep \ Shorewall - iptables made easy
AIM: tmeastep \ http://www.shorewall.net
ICQ: #60745924 \ teastep@shorewall.net