Tom Eastep wrote:

> If you need to set an address in /etc/shorewall/params, here's a trick:
> 
> if [ $HOSTNAME = remote ]; then
>     ADDR=$(find_first_interface_address eth1)
> else
>     ADDR=$(ssh [EMAIL PROTECTED] "shorewall-lite call 
> find_first_interface_address
>  eth1")
> fi

Please disregard -- the above works from the command line but not in
/etc/shorewall/params.

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to