Date: Mon, 26 Mar 2001 13:17:25 -0500 (EST) From: Johnny Dang <johnny.dang@johnnydang.net> To: FreeBSD IpFW <FREEBSD-IPFW@FreeBSD.org> Subject: Scripting with IPFW Message-ID: <Pine.BSF.4.21.0103261316570.9647-100000@johnnydang.net>
next in thread | raw e-mail | index | archive | help
Hello all experts out there, I have a Linux box (used to run ipchains). I then move the box to FreeBSD 4.2... Set it up and everything was running fine (with the help of your guys). Now, I have a small problem. Since the DEC0 of my new IPFW is a DHCP client, I would love to have the script grab the IP(rather than specify it)... I have this line on Linux and it was fine: WAN_IP=`ifconfig $WAN_NIC | grep inet | cut -d: -f2 | cut -d " " -f1` ... Now, how can I can set it up to put it under FreeBSD rc.firewall de0=?????????? Thanks for your help. ++++++++++++++++++++++++++++++++++++++++++++++++++ "The instructions said to use Windows 98 or better, so I installed FreeBSD...It is working now!..." ++++++++++++++++++++++++++++++++++++++++++++++++++ Johnny Dang <Johnny.Dang@johnnydang.net> Senior Network Engineer/MCSE + Internet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0103261316570.9647-100000>
