From owner-freebsd-net@FreeBSD.ORG Fri May 23 08:45:46 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 3203C37B404; Fri, 23 May 2003 08:45:46 -0700 (PDT) Received: from srv00.el.com.br (srv00.el.com.br [200.179.165.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B24F43F75; Fri, 23 May 2003 08:45:45 -0700 (PDT) (envelope-from g-paiva@el.com.br) Received: from intranet.el.com.br (srv00.el.com.br [200.179.165.123]) by srv00.el.com.br (elsmtp) with SMTP id 2DA097103C; Fri, 23 May 2003 12:45:39 -0300 (BRT) Received: from 192.168.1.39 (SquirrelMail authenticated user g-paiva) by intranet.el.com.br with HTTP; Fri, 23 May 2003 12:45:39 -0300 (BRT) Message-ID: <1091.192.168.1.39.1053704739.squirrel@intranet.el.com.br> Date: Fri, 23 May 2003 12:45:39 -0300 (BRT) From: "Paiva, Gilson de" To: freebsd-questions@freebsd.org, freebsd-net@freebsd.org User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal Subject: 3 NICs NAT setup, almost there ... 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, 23 May 2003 15:45:46 -0000 Hi, Take this scenario: xxx/26 yyy/26 internet --- ep0 freebsd rl0 --- wired clients ep1 | private ip ( 192.168.1.0/24 ) | wireless I have to nat packets with destination to an ip xxx/26 to an ip at private ip net. So far so good with "common" redirect_address nat configuration. The problem happens with traffic between net yyy/26 and the private network ( and vice-versa ) because packets get routed to destination before they get translated by natd. What´s the secret ? I tried everything I known and learned from reading but no setup could work out. Any comments, -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Paiva, Gilson de Domingos Martins mailto:npd@el.com.br Brazil http://www.el.com.br/ E&L Producoes de Software http://www.FreeBSD.org/ FreeBSD: The Power to Serve =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ------------------------------------------------------------------------------ Aviso Legal: Esta mensagem pode nao expressar oficialmente as ideias ou vontades da empresa E&L Producoes de Software, sendo responsavel por esta exclusivamente seu autor.