Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2005 07:13:36 +0000
From:      Anne Marcel Roorda <marcel@slowthinkers.net>
To:        freebsd-net@freebsd.org
Subject:   Re: public ip address behind nat 
Message-ID:  <200501250713.j0P7DaS0037016@piglet.slowthinkers.net>
In-Reply-To: Message from Mihai Nitulescu <mihaissa@yahoo.com>  <20050124232119.66192.qmail@web30406.mail.mud.yahoo.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

> I want to assign to application.example.com 193.231.43.27 and to route this i
p trough nat.example.com
>  
> Any ideea how can i do that ?
> Please help.

Mihai,

  From the man page of natd:

     -unregistered_only | -u
                 Only alter outgoing packets with an unregistered source
                 address.  According to RFC 1918, unregistered source
                 addresses are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16.

  That should allow you to use both private space, and assigned
addressess.

  You can either add this option to your natd configuration file, or
add it as a command line option.

Regards,

- marcel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501250713.j0P7DaS0037016>