Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2010 13:24:40 -0400
From:      Bob Hall <rjhjr0@gmail.com>
To:        Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: Setting firewall symbolic constants
Message-ID:  <20100330172440.GA22975@stainmore>
In-Reply-To: <4BB1F429.7030407@earthlink.net>
References:  <4BB1F429.7030407@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 30, 2010 at 07:52:57AM -0500, Walter wrote:
> Can these be set by the system automatically?  Specifically
> $firewall_simple_onet?

I use

	onet=`ifconfig <if> | grep "inet " | awk '{print $6}'`

where if is rl0 or em0 or whatever the outward facing interface is for
your system.



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