Re: NAT

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

 



> computer running windows 98.  How can I set up the NAT to share my
> internet.  I do not know anything about NAT except that windows did it

Assume eth0 is connected to the internet, and eth1 is connected to your
local net. Add the following to rc.local in /etc/rc.d:

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Cheers,

Eric

-- 
Eric Bourque
Ph.D. Candidate, Centre for Intelligent Machines, McGill University.

PGP Fingerprint : B57E FA15 E100 4C20 538F  56F0 78B9 582D 75C0 CFE0



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux