Static NAT and PAT on FreeBSD 6.2

Ian Smith smithi at nimnet.asn.au
Thu Jun 12 13:45:14 UTC 2008


On Wed, 11 Jun 2008 13:17:11 -0400 Matt Brennan <brennanma at gmail.com> wrote:
 > I have continued to experiment and am still running into the same issues.
 > Anyone?
 > 
 > -Matt
 > 
 > On Sun, Jun 1, 2008 at 5:33 PM, Matt Brennan <brennanma at gmail.com> wrote:
 > 
 > > Hi All,
 > >
 > >  I am running FreeBSD 6.2-release. I have been running PAT via natd
 > > and ipfw for some time now and it runs great. However, I continue to
 > > try and employ static NAT on this router, and as soon as I do so all
 > > other clients lose routing. My natd.conf is as below:
 > >
 > > unregistered_only
 > > use_sockets
 > > log_ipfw_denied
 > > redirect_address 10.100.1.2 66.92.79.20
 > > alias_address 66.92.79.89
 > >
 > >  Whenever I run with this configuration all clients except the
 > > static'ed one lose routing out of the building. I have tried switching
 > > the order of the alias_address and redirect_address.
 > >
 > >  Any help is appreciated.
 > >
 > > -Matt

On rereading natd(8) and my natd.conf I wondered if you mightn't need:

  target_address  255.255.255.255  # unmapped go to alias_address

but expect you'd get a more useful response to this over on freebsd-net@

cheers, Ian



More information about the freebsd-questions mailing list