public ip address behind nat

Anne Marcel Roorda marcel at slowthinkers.net
Mon Jan 24 23:13:42 PST 2005


> 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


More information about the freebsd-net mailing list