Date: Sat, 4 Jul 1998 01:52:10 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: Steve Hicks <steve@bucket.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: IPFW and NATD woes. Message-ID: <Pine.BSF.3.96.980704015014.12188f-100000@resnet.uoregon.edu> In-Reply-To: <199807021850.TAA25446@slush.bucket.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2 Jul 1998, Steve Hicks wrote: > I have a machine with a public interface (ed0 194.159.240.116 and > 194.159.240.124) and a private interface (ep0 192.168.1.1) > > I have rebuilt my kernel with options IPFIREWALL and options IPDIVERT. > I have added the natd entry in /etc/services. > > Now, what I want to do is take all traffic destined for 194.159.240.124, > translate it and send it out on ep0 to machine 192.168.1.2. However, I > still want all traffic destined for 194.159.240.116 to end up on the > firewall. Easy -- add an Ethernet alias for this IP using ifconfig, then add a redirect_address line to your natd configuration that maps local ip 192.168.1.2 to the newly aliased IP address. See the natd man pages for details. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980704015014.12188f-100000>