Date: Thu, 25 Jul 2002 15:26:51 -0500 From: "James West" <zerowren@msn.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: NAT with Three NICs Message-ID: <F25qQkHqJmvnfaAdNwA000253f6@hotmail.com>
next in thread | raw e-mail | index | archive | help
Now, this is another question I've had: what's the advantage of the ipfilter package over natd/ipfw? James >From: Kenneth Culver <culverk@yumyumyum.org> >To: "Roger 'Rocky' Vetterberg" <listsub@rambo.simx.org> >CC: James West <zerowren@msn.com>, <freebsd-questions@FreeBSD.ORG> >Subject: Re: NAT with Three NICs >Date: Thu, 25 Jul 2002 16:06:58 -0400 (EDT) > > > You could run two natd daemons on the gateway machine, one for the win > > machine and one for the macs. Just start another natd listening on > > another port, and add a ipfw divert rule to send the traffic from the > > macs through this new natd. > >Or you could use ipfilter+ipnat, and just add two redirect rules: > >map fxp0 192.168.0.0/24 -> 0/32 portmap tcp/udp 10000:30000 >map fxp0 192.168.1.0/24 -> 0/32 portmap tcp/udp 30000:60000 > >then just make sure you set it up so the 2 internal nics are on the >192.168.0.0/24 and 192.168.1.0/24 subnets respectively and it should work >(I've done similar things.) > >Ken > _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com 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?F25qQkHqJmvnfaAdNwA000253f6>