From owner-freebsd-questions Thu Jul 6 15:22:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailout1-1.nyroc.rr.com (mailout1-1.nyroc.rr.com [24.92.226.146]) by hub.freebsd.org (Postfix) with ESMTP id CB19737B60E for ; Thu, 6 Jul 2000 15:22:10 -0700 (PDT) (envelope-from reichman@twcny.rr.com) Received: from mail1.twcny.rr.com (mail1-0 [24.92.226.74]) by mailout1-1.nyroc.rr.com (8.9.3/8.9.3) with ESMTP id SAA13600 for ; Thu, 6 Jul 2000 18:20:31 -0400 (EDT) Received: from twcny.rr.com ([24.24.27.214]) by mail1.twcny.rr.com (Post.Office MTA v3.5.3 release 223 ID# 0-53939U80000L80000S0V35) with ESMTP id com for ; Thu, 6 Jul 2000 18:20:30 -0400 Message-ID: <3964CF35.E20E6A62@twcny.rr.com> Date: Thu, 06 Jul 2000 18:25:57 +0000 From: "Mark S. Reichman" X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: tun0 and DHCP firewall configuration Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I setup a a firewall using this tutorial. http://www.freebsd.org/tutorials/dialup-firewall/index.html The tutorial is specifically for ppp. However, I have a cable modem/DHCP. So, I left this part out (?) ppp_enable="YES" ppp_mode="auto" ppp_nat="YES" ppp_profile="profile" The ipfw rules file accompanying this tutorial has many references to tun0. During boot, ipfw is initialized. I get this message many times: ipfw: warning: tun0 does not exist. I do have tun0 in my /dev dir and it is compiled in my kernel. I am running 4.0 stable. I heard tun0 has something to do with ppp only? Give me a pointer, please, on how to get this firewall up using DHCP. Thanks.. mark@slugo:/dev:> ls -la tun* crw------- 1 uucp dialer 52, 0 Jul 5 17:49 tun0 crw------- 1 uucp dialer 52, 1 Jul 5 17:49 tun1 crw------- 1 uucp dialer 52, 2 Jul 5 17:49 tun2 crw------- 1 uucp dialer 52, 3 Jul 5 17:49 tun3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message