Date: Sun, 4 Nov 2001 18:53:02 -0500 (EST) From: Dru <genisis@istar.ca> To: Sean Ellis <sellis@intergate.ca> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: ipfw script values Message-ID: <20011104185024.E95918-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com> In-Reply-To: <20011104153817.A275@telus.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 4 Nov 2001, Sean Ellis wrote: > Hello, > > I edited a general-purpose firewall rule script and use it on > a dual homed machine. It provides nat and filtering. My question > is, right now I have the value for the external interface ip number > 'hard-wired' into the script. No problem, but the machine picks up > this number via dhcp, so I'd like to have something a little more > dynamic here. Does anyone have a suggestion for a nice neat way to > grab this and the network, and mask values. Are they available anywhere > in a convenient user-friendly form? Hi Sean, If you're using FreeBSD 4.3 or above, you can use the "me" keyword. However, there is a security advisory (SA-01:53) which may affect you if your system is older than August 17th. Dru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011104185024.E95918-100000>