From owner-freebsd-questions Fri Nov 30 7: 0:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailin7.bigpond.com (mailin7.bigpond.com [139.134.6.95]) by hub.freebsd.org (Postfix) with ESMTP id B176C37B41B for ; Fri, 30 Nov 2001 06:59:28 -0800 (PST) Received: from wskatinka ([144.135.24.78]) by mailin7.bigpond.com (Netscape Messaging Server 4.15) with SMTP id GNMCM900.EHB; Sat, 1 Dec 2001 01:06:09 +1000 Received: from 144.137.224.50 ([144.137.224.50]) by bwmam04.mailsvc.email.bigpond.com(MailRouter V2.9k 8329/32420842); 01 Dec 2001 00:59:21 Message-ID: <017701c179b0$4b60e1d0$fe00a8c0@wskatinka> From: "Kathy Quinlan" To: "Matthew Emmerton" , Cc: , References: Subject: Re: PPPoE Date: Fri, 30 Nov 2001 23:03:58 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 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 > > 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 ____________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message