From owner-freebsd-questions Fri Nov 30 7:38:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id EE1D537B419 for ; Fri, 30 Nov 2001 07:38:44 -0800 (PST) Received: from SAGEONE (adsl-64-219-30-123.dsl.crchtx.swbell.net [64.219.30.123]) by sage-american.com (8.9.3/8.9.3) with SMTP id JAA00961; Fri, 30 Nov 2001 09:38:34 -0600 (CST) Message-Id: <3.0.5.32.20011130093839.010dd790@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Fri, 30 Nov 2001 09:38:39 -0600 To: "Kathy Quinlan" , "Matthew Emmerton" From: jacks@sage-american.com Subject: Re: PPPoE Cc: , In-Reply-To: <017701c179b0$4b60e1d0$fe00a8c0@wskatinka> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 As in my earlier message, I have both enabled and running perfectly. I'm using the named daemon for a nameserver in the same box.... It couldn't resolve DNS for the clients until I enabled the named daemon and I left the setting for nat enabled in ppp. At 11:03 PM 11.30.2001 +0800, Kathy Quinlan wrote: >> > nat should be enabled in ppp, but put natd lines in your rc.conf too (as >> > per /etc/defaults/rc.conf).... >> >> Actually, no. You can only use PPP's NAT facility *or* /sbin/natd (aka >> natd_enable="YES" in /etc/rc.conf.) Attempting to use both at the same >> time will just cause problems. If you don't have any special >> requirements, PPP's NAT will work just fine. > >OK I have a question then (as I heard the same that both cause a problem) > >I disable nat in ppp.conf and no machines can access the outside world, I >know natd is running, as I have a port 80 redirection with it. any ideas ?? > >I am also using PPPoE with telstra ADSL. bellow is my natd.conf > >Regards, > >Kat. > > interface rl0 > dynamic > unregistered_only > use_sockets > same_ports > punch_fw 6666:10 > redirect_port tcp 192.168.0.2:33025-33050 33025-33050 > redirect_port udp 192.168.0.2:33025-33050 33025-33050 > redirect_port tcp 192.168.0.3:33051-33075 33051-33075 > redirect_port udp 192.168.0.3:33051-33075 33051-33075 > redirect_port tcp 192.168.0.4:33076-33100 33076-33100 > redirect_port udp 192.168.0.4:33076-33100 33076-33100 > redirect_port tcp 192.168.0.254:33000-33024 33000-33024 > redirect_port udp 192.168.0.254:33000-33024 33000-33024 > > > redirect_port tcp 192.168.0.69:80 80 #redirection for web server > > > >____________________________________________________________________________ > /"\ ASCII Ribbon Campaign | K.A.Q. Electronics > \ / - NO HTML/RTF in e-mail | Software and Electronic Engineering > X - NO Word docs in e-mail | Perth Western Australia > / \ | Ph +61 419 923 731 >____________________________________________________________________________ > > > > > Best regards, Jack L. Stone, Server Admin Sage-American http://www.sage-american.com jacks@sage-american.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message