From owner-freebsd-questions Sun Nov 4 15:35:18 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 DD8CE37B418 for ; Sun, 4 Nov 2001 15:35:15 -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 fA4Gvu707309 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK) for ; Sun, 4 Nov 2001 16:57:58 GMT Received: (from sellis@localhost) by barney.intergate.ca (8.11.3/8.11.3) id fA4NcHQ00313 for freebsd-questions@freebsd.org; Sun, 4 Nov 2001 15:38:17 -0800 Date: Sun, 4 Nov 2001 15:38:17 -0800 From: Sean Ellis To: freebsd-questions@freebsd.org Subject: ipfw script values Message-ID: <20011104153817.A275@telus.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 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? thanks, -- Sean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message