From owner-freebsd-questions@FreeBSD.ORG Mon May 9 20:29:16 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C10B016A4EA for ; Mon, 9 May 2005 20:29:16 +0000 (GMT) Received: from f31.mail.ru (f31.mail.ru [194.67.57.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FF5143D75 for ; Mon, 9 May 2005 20:29:16 +0000 (GMT) (envelope-from medvedev_denis@mail.ru) Received: from mail by f31.mail.ru with local id 1DVEsM-000FFw-00 for freebsd-questions@freebsd.org; Tue, 10 May 2005 00:29:14 +0400 Received: from [217.172.28.56] by win.mail.ru with HTTP; Tue, 10 May 2005 00:29:14 +0400 From: =?windows-1251?Q?=C4=E5=ED=E8=F1=20=CC=E5=E4=E2=E5=E4=E5=E2?= To: freebsd-questions@freebsd.org Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [217.172.28.56] Date: Tue, 10 May 2005 00:29:14 +0400 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Message-Id: Subject: NAT with two different alias addresses. Is it possible? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: =?windows-1251?Q?=C4=E5=ED=E8=F1=20=CC=E5=E4=E2=E5=E4=E5=E2?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 20:29:16 -0000 Hello, everybody! I've just installed freeBSD 5.3 on my old computer to make it NAT router for internet sharing. The example is classical: two machines in my internal network and one IP from provider. Except one moment - my internet connection is established through PPPoE. So my unix has 3 network interfaces: rl0 - provider's network 10.10.54.107/16 tun0 - pppoe (through rl0 of course). Here my IP is 192.168.54.107 rl1 - my internal network 172.16.0.1/24 (do not laugh i've made it for difference) NAT has alias address 192.168.54.107, and internet connection works perfectly. BUT there are a lot of resources in 10.10.54.107/16 network I can't get access from my internal machines. I think address translation to 10.10.54.107 could help. Or not? Maybe it is possible to launch second NATd for this interface? -- Best Regards Denis mailto:medvedev_denis@mail.ru