On Sun, Feb 15, 2009 at 9:57 PM, Fons Adriaensen <fons(a)kokkinizita.net> wrote:
A weakly related OT question:
I need to set up a machine as a router. One side is
a fixed public IP address, the other side is a local
net using 192.168.1.x. I want to give internet access
to the machines on the local net, so this requires
(AFAIK) NAT. Anyone has a pointer to a good tutorial
about how to do this ?
I find shorewall is the nicest way to go about this sort of thing. You
write some fairly straightforward configuration files describing your
setup and what you want to achieve, and it handles all the iptables
configuration for you. Easy to setup, easy to maintain, easy to modify
when your requirements change (if you want to do some port forwarding
etc.).
http://www.shorewall.net
- Steve