Mikkel L. Ellertson wrote:
Azeez, what you need is not trite retorts from resident list
imbeciles (see Bill's response below), but rather to employ an
iptables firewall application/script. There are numerous available
to meet any need from simple to enterprise-capable. Firestarter,
Shorewall, and I believe there is a basic firewall configuration
utility in the distro. The web-based firewall gui in Webmin provides
a very simple rudimentary funtion for this. There are many others.
It might be as simple as:
modprobe iptable_nat
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
but if you have to ask the question, you might be better off with one of
the appliance systems that do this for you along with a lot of other
things - like SME server or Clarkconnect.
--
Les Mikesell
lesmikesell@xxxxxxxxx