From owner-freebsd-questions Sat Dec 29 6:53:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rerun.lucentctc.com (rerun.lucentctc.com [199.93.237.2]) by hub.freebsd.org (Postfix) with ESMTP id 8C5D237B421 for ; Sat, 29 Dec 2001 06:53:52 -0800 (PST) Received: by rerun.lucentctc.com with Internet Mail Service (5.5.2653.19) id ; Sat, 29 Dec 2001 09:53:46 -0500 Message-ID: <3A6D367EA1EFD4118C9B00A0C9DD99D7065380@rerun.lucentctc.com> From: "Cambria, Mike" To: 'Joe & Fhe Barbish' , FBSD Questions Subject: RE: IPFW rc.firewall Date: Sat, 29 Dec 2001 09:53:45 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 This is what I use in rc.firewall for a DHCP assigned IPv4 address: onet=`ifconfig vx0 | grep "inet " | awk '{print $6}'` oip=`ifconfig vx0 | grep "inet " | awk '{print $2}'` omask=`ifconfig vx0 | grep "netmask" | awk '{print $4}'` This works for a cable modem via my vx0 10/100 Ethernet NIC. For PPP, YMMV. MikeC -----Original Message----- From: Joe & Fhe Barbish [mailto:barbish@a1poweruser.com] Sent: Thursday, December 27, 2001 7:51 PM To: FBSD Questions Subject: IPFW rc.firewall In rc.firewall one can configure the simple type of firewall rule set. It requests you to enter your settings for "your outside network, mask, ip". This looks like it wants a public static ip address from ISP. I logon to my ISP using user ppp and get a dynamic IP address that is different every time. What value am I to enter in these fields so it knows it's dynamic ip address? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message