Setting firewall symbolic constants

Walter walterk1 at earthlink.net
Wed Mar 31 11:30:30 UTC 2010


Bob Hall wrote:

>I use
>	onet=`ifconfig rl0 | grep "inet " | awk '{print $6}'`
>where rl0 is the outward facing NIC on this gateway.
>  
>
Thanks.  But I think I like a method which allows me to get the
device names also, to allow a 'hands-off' configuring of the fw.
I'll keep your code for future reference, tho.


More information about the freebsd-questions mailing list