From owner-freebsd-net@FreeBSD.ORG Fri Jun 13 05:15:06 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B48C137B401 for ; Fri, 13 Jun 2003 05:15:06 -0700 (PDT) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FA6743FBD for ; Fri, 13 Jun 2003 05:15:05 -0700 (PDT) (envelope-from zel@free.fr) Received: from imp2-1.free.fr (imp2-1.free.fr [213.228.0.22]) by postfix3-1.free.fr (Postfix) with ESMTP id AF4ADC0E3 for ; Fri, 13 Jun 2003 14:15:04 +0200 (CEST) Received: by imp2-1.free.fr (Postfix, from userid 33) id A1AC6580A2; Fri, 13 Jun 2003 14:14:46 +0200 (CEST) To: freebsd-net@freebsd.org Message-ID: <1055506486.3ee9c0361dcbd@imp.free.fr> Date: Fri, 13 Jun 2003 14:14:46 +0200 (CEST) From: zel@free.fr MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.6 X-Originating-IP: 81.80.243.157 Subject: pb nat X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 12:15:07 -0000 Could someone help me please... (I m'not very good at net on freebsd and i am in front of a problem i cannot resolve !!!) I installed on an old computer (a Pentium 1 at 100Mhz with 32Mo RAM) a FreeBSD 4.4.1 for firewall nat activity with an ADSL Internet connection. So: The situation is described below: Alcatel SpeedTouch < - > (ed1) FREEBSD Station (ep0) < - > Local area network Ethernet ed1 is a NE2000 compatible ISA network card. ep0 is a 3Com 509COMBO ISA network card. IPs are ed1 : 10.0.0.1 over 10.0.0.0 /24 ep0 : 192.168.1.254 over 192.168.1.0/24 in my rc.conf : my configuration of ppp is ok because I can connect to Internet and request dns servers from FREEBSD... But i never succeed to connect ADSL with client workstation. I compiled my kernel with IPDIVERT, IPFIREWALL, IPFIREWALL_FORWARD And I store in rc.conf the following lines as mentionned in some websites: ppp_nat="YES" natd_enabled="YES" natd_interface="ed1" natd_flags="" gateway_enable="YES" But the kernel answer is always the same: 192.168.1.X is on ep0 but get an answer from ed1 !!! Is it not the job of NAT to translate address ???? So !!! What can I do... If you need some informations to resolve my pb, please, send me your question... Thanks ZEL