From owner-freebsd-questions Tue Nov 21 9:40:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from server1.lojasobino.com.br (server1.lojasobino.com.br [200.248.23.150]) by hub.freebsd.org (Postfix) with ESMTP id 5C90D37B4C5 for ; Tue, 21 Nov 2000 09:40:07 -0800 (PST) Received: from pc2 (pc2.lojasobino.com.br [128.1.1.101]) by server1.lojasobino.com.br (8.10.2/8.10.2) with SMTP id eALHgYm29057 for ; Tue, 21 Nov 2000 15:42:35 -0200 (EDT) Message-ID: <004501c053e1$725209e0$65010180@lojasobino.com.br> From: "Fabrizzio Batista" To: Subject: NAT with redirect_address Date: Tue, 21 Nov 2000 15:35:30 -0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi gurus, I´m using redirect_address and everything are fine, but when I try to out all outgoing packets I have the same public IP. | PC1 - 192.168.1.10 | ----------------------> 200.248.1.1 | | |---------------------------| Server with NAT - 200.248.1.1 | | | PC2 - 192.168.1.20 | --------------------------------> 200.248.1.1 How can I do to make internals ips get out with differents IPs ??? | PC1 - 192.168.1.10 | --------------------------------> 200.248.1.3 | | |---------------------------| Server with NAT - 200.248.1.1 | | | PC2 - 192.168.1.20 | --------------------------------> 200.248.1.4 natd -n rl0 -redirect_address 192.168.1.10 200.248.1.3 -redirect_address 192.168.1.20 200.248.1.4 Thanks in advance, Fabrizzio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message