From owner-freebsd-questions Sun Nov 4 16: 4:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wintermute.at.org (wintermute.at.org [64.69.77.155]) by hub.freebsd.org (Postfix) with ESMTP id F270937B419 for ; Sun, 4 Nov 2001 16:04:46 -0800 (PST) Received: from barney.intergate.ca (bambam [216.232.226.47]) by wintermute.at.org (8.11.3/8.11.3) with ESMTP id fA4HRd707391 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK); Sun, 4 Nov 2001 17:27:41 GMT Received: from FRED (fred [192.168.2.1]) by barney.intergate.ca (8.11.3/8.11.3) with ESMTP id fA507xi00353; Sun, 4 Nov 2001 16:07:59 -0800 Date: Sun, 4 Nov 2001 16:11:19 -0800 From: Sean Ellis X-Mailer: The Bat! (v1.51) Reply-To: Sean Ellis Organization: yes X-Priority: 3 (Normal) Message-ID: <118183358158.20011104161119@telus.net> To: Dru Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ipfw script values In-Reply-To: <20011104185024.E95918-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com> References: <20011104185024.E95918-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 1.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey Dru, Sunday, November 04, 2001, 3:53:02 PM, you wrote: > 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. I'm ok on both counts (version, date), I'll be looking that up then, muchas gracias, > Dru -- Best regards, Sean mailto:sellis@telus.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message