From owner-freebsd-stable Sun Nov 24 18:26:31 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BED4B37B401 for ; Sun, 24 Nov 2002 18:26:29 -0800 (PST) Received: from mta09.mail.mel.aone.net.au (mta09.mail.au.uu.net [203.2.192.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D26243E6E for ; Sun, 24 Nov 2002 18:26:28 -0800 (PST) (envelope-from rbyrnes@ozemail.com.au) Received: from ausyddtp0050.ozemail.com.au ([203.166.67.234]) by mta09.mail.mel.aone.net.au with ESMTP id <20021125022618.PGCD27722.mta09.mail.mel.aone.net.au@ausyddtp0050.ozemail.com.au> for ; Mon, 25 Nov 2002 13:26:18 +1100 Message-Id: <5.1.1.6.2.20021125131936.01d9a860@127.0.0.1> X-Sender: pop.ozemail.com.au:rbyrnes@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Mon, 25 Nov 2002 13:25:10 +1100 To: stable@freebsd.org From: Rob B Subject: Re: ppp works, but natd not working - SOLVED In-Reply-To: <3DDCB3DF.7000501@superig.com.br> References: <200211210454.gAL4sFIV063929@arch20m.dellroad.org> <01cb01c2911b$83e59180$3164a8c0@number6.loop.bpa.nu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 21:22 21/11/2002, Tony Meman sent this up the stick: >Another thing you should check is if ipfw is passing the >packets that should be translated to natd. Try 'ipfw list'. > >Note that this rule is loaded by rc.firewall if you enabled >firewall and natd on your rc.conf. You can add it by hand >doing: > ># ipfw add 50 divert natd all from any to any via $natd_interface > >Where natd_interface is your public interface (with internet conn). Well, just a followup to all who have provided me with useful info - I ended up using the NAT built into ppp, and using ipfw to make the firewall side of things. The only thing now is my Alpha now locks up totally (network and console) after about 5 minutes of forwarding traffic (this is on a dialup line - so nothing too stressful) Going to try IPFilter next :) cheers, Rob >Rob B wrote: >> >>[root@erwin]/usr/local/etc: sysctl net.inet.ip.forwarding >>net.inet.ip.forwarding: 1 >>cheers, >>rob -- A sucking chest wound is just nature's way of telling you to slow down. This is random quote 181 of a collection of 1256 Distance from the centre of the brewing universe: [15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian Public Key fingerprint = 6219 33BD A37B 368D 29F5 19FB 945D C4D7 1F66 D9C5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message