Jim Tarvid tarvid at
Sat Sep 26 11:19:01 UTC 2009

On Thu, Sep 24, 2009 at 3:26 PM, Leonel Nunez <leonel at> wrote:
>> I will shortly be in a position of routing a network to
>> an x.y.z.0/24 public address network. What is the easiest way to give
>> the private ip clients public ip addresses? I am running 9.04 but will
>> upgrade to 9.10 after testing.
> you need to set up  NAT  with  IPTABLES
> --
> Leonel Nunez
Something like

iptables -t nat -A PREROUTING -i eth0 -d 68.x.x.1 -j DNAT
iptables -t nat -A POSTROUTING -o eth0 -s -j SNAT


Seduced in part by fwbuilder but version in universe has a few issues:

Help file /usr/share/fwbuilder-3.0.2/help/main_en_US.html not found.
A new version of Firewall Builder is available at
Disconvery Druid bombs - fwbuilder: utils.cpp:122: void
fillLibraries(QComboBox*, libfwbuilder::FWObject*, bool): Assertion
`libobj!=__null' failed.

Add fwbuilder debs to sources.list, install fwbuilder and

dpkg: error processing
 trying to overwrite `/usr/lib/', which is also in
package libfwbuilder8

I am agnostic about how '1-1' NAT gets done. Looking  for the bunny slope.

And while we are at it, what recommendations have you for a VPN Router
Firewall for 15 workstations connecting to an existing VPN? Appliance
is good.


The path to God starts with a simple act of kindness.

More information about the ubuntu-server mailing list