From owner-freebsd-questions Tue Feb 15 17: 1:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from shellyeah.org (zippy.shellyeah.org [140.186.45.25]) by builder.freebsd.org (Postfix) with SMTP id BC62D5EF2 for ; Tue, 15 Feb 2000 16:29:12 -0800 (PST) Received: (qmail 17434 invoked by uid 0); 16 Feb 2000 00:08:54 -0000 Received: from zippy.shellyeah.org (remnants@140.186.45.25) by zippy.shellyeah.org with SMTP; 16 Feb 2000 00:08:54 -0000 Date: Tue, 15 Feb 2000 19:08:54 -0500 (EST) From: Remnants To: FreeBSD Qs Subject: ipfw / natd + outgoing source address? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Maybe I'm just missing something in the man pages, but is there any way to change the source address used for _outgoing_ connections from the inside of a NAT to one of the external interface's aliases using ipfw / natd? Something like ... ( lan ) tun0 tun1 ( aliases ) 192.168.0.1 ---+---> [-----] -------> 172.16.0.21 192.168.0.2 ---+---> | | -------> 172.16.0.22 192.168.0.3 ---+---> | nat | -------> 172.16.0.23 192.168.0.4 ---+ | | 192.168.0.5 ---' [-----] ... so that requests originating from 192.168.0.1 would appear to the outside world as coming from 172.16.0.21, 192.168.0.2 as 172.16.0.22, and everything else on the inside as 172.16.0.23. I see from the ipfilter docs and how-to that it appears to support this kind of functionality via its map directive, but I'd rather not have to switch. Many thanks in advance. r. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message