[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] RedHat doesn't want to route - help!!



On Thu, 2004-06-24 at 20:40, Denis Nikitin wrote:
> Hi All,
> I am pretty much frustrated with what seemed to be
> a simple task originally.
> I need to set Redhat (RHEL 3 ES) with two NICs as an internet gate.

Hi,

Run this: (all one the same line)

iptables -A POSTROUTING -s 192.168.1.0/255.255.255.0 -j SNAT --to-source
82.211.117.90

Now roll in the joy of a working router.

-- 
tom

you are huge!  that means you have huge guts!

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.