> 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
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to