Yogesh Sharma wrote:
>
> Is it possible to configure shorewall in a manner so it can detect which
> interface(s) is up and
> accordingly change act on it.
The easiest way is this:
/etc/shorewall/interfaces:
net eth0 detect <options>
net ath0 detect <options>
net ppp0 - <options>
Note that some <option>s like ''routefilter'' will
generate a warning during
startup for each interface that isn''t available. That is normal and can
be
safely ignored.
Since you won''t need to route traffic from one ''net''
interface to another, you
can place this in /etc/shorewall/policy:
net net NONE
-Tom
--
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool
Shoreline, \ http://shorewall.net
Washington USA \ teastep@shorewall.net
PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
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