Google Site SearchFN Site Search FN Blog Login FN Blog Login
Site Navigation:

Fedora Tips

by Krishnan Subramanian

2004-01-15 Fedora Tips #12:
To share your internet connection:
In /etc/sysctl.conf set net.ipv4.ip_forward to 1 and then exec sysctl -p
Now exec

iptables -t nat -A POSTROUTING -s your_private_network -j MASQUERADE
Where your_private_network is the network address, for example Then exec: services iptables save - submitted by Franco Catrin.