Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2010 06:30:28 -0500
From:      Walter <walterk1@earthlink.net>
To:        Bob Hall <rjhjr0@gmail.com>
Cc:        Questions <freebsd-questions@freebsd.org>
Subject:   Re: Setting firewall symbolic constants
Message-ID:  <4BB33254.7020904@earthlink.net>
In-Reply-To: <20100331001641.GA23999@stainmore>
References:  <4BB1F429.7030407@earthlink.net> <4BB21253.7050702@infracaninophile.co.uk> <4BB26A62.9020400@earthlink.net> <20100331001641.GA23999@stainmore>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BB33254.7020904>