From owner-freebsd-questions Sat Jan 27 16:24: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from h0040f6849012.ne.mediaone.net (h0040f6849012.ne.mediaone.net [24.147.179.35]) by hub.freebsd.org (Postfix) with ESMTP id 9D90237B401 for ; Sat, 27 Jan 2001 16:23:49 -0800 (PST) Received: (from eric@localhost) by h0040f6849012.ne.mediaone.net (8.11.1/8.11.1) id f0S0NYw05797; Sat, 27 Jan 2001 19:23:34 -0500 (EST) (envelope-from eric) Date: Sat, 27 Jan 2001 19:23:33 -0500 From: Eric Johnson To: Matt Edwards Cc: freebsd-questions@FreeBSD.org Subject: Re: Connecting to My ISP via DSL Message-ID: <20010127192333.A5629@h0040f6849012.ne.mediaone.net> Reply-To: eric@coding-zone.com References: <000401c088ae$1450caa0$0200a8c0@muggla> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000401c088ae$1450caa0$0200a8c0@muggla>; from matt.edwards@worldnet.att.net on Sat, Jan 27, 2001 at 02:58:56PM -0700 X-MUA-OS: FreeBSD 4.2-RELEASE i386 X-Uptime: 5:08PM up 1 day, 10:49, 2 users, load averages: 0.03, 0.01, 0.00 X-Disclaimer: #include Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Jan 27, 2001 at 02:58:56PM -0700, Matt Edwards wrote: > I am attempting to connect to my ISP using new DSL modem and service. [snip] Hmmm... I've never heard of DSL requiring PPP. All DSL providers I'm familiar with either give you a static IP address for your external NIC or use DHCP to assign a dynamic IP address to your external NIC. I'm also assuming you're trying to make your BSD box into a gateway. I'm guessing you want to change your rc.conf to have, ifconfig_tun0="DHCP" ifconfig_x10="inet 192.168.0.1 netmask 255.255.255.0" gateway_enable="YES" firewall_enable="YES" firewall_script="/etc/rc.firewall" firewall_type="open" firewall_quiet="NO" natd_program="/sbin/natd" natd_enable="YES" natd_interface="tun0" natd_flags="-f /etc/natd.conf" This is assuming that the NIC card handled by the tun0 driver is your external NIC connecting to your DSL modem. The other NIC (maybe goes to a hub?) handled by the x10 driver is your internal NIC. I _think_ (I'm new to FreeBSD also) you need to recompile FreeBSD to support ipfw/nat, right gurus? -- Best Regards, Eric Johnson (eric@coding-zone.com && http://www.coding-zone.com) The first rule of intelligent tinkering is to save all the parts. -- Paul Erlich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message