Internet Connection Sharing
Can Someone Help me Setting Up my Linux Ubuntu to Share internet on my Clients.
1. I have Eth0 and Eth1. 2. Eth0 is connected to the internet. 3. Eth1 is connected to my Private Network. Need help? 1. how to share internet? 2. how to set it automatically every time i power Up my PC? Thanks in Advance. |
man iptables
|
Yep, iptables should do the job nicely. I use it myself. If you search the Gentoo forums with the same username as mine, you should find the commands to make it share. forums.gentoo.org if you need the link.
Post back if you need more help. :D :D :D :D :D |
In order to have traffic route between your 2 interfaces -- I assume that is what you mean by "share" -- you will also need to execute the following:
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward |
All times are GMT -5. The time now is 04:11 AM. |