|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
You could say that I am a newbie to Linux networking. I am trying to figure out how to use my Linux box to allow other computers in my network to access the Internet through it. Can someone give me a rundown as to what is necessary for this?
Thanks in Advance
__________________
Edgar Castanedo |
|
#2
|
|||
|
|||
|
|
|
#3
|
|||
|
|||
|
Just in case you find those tutorials a little too cryptic (I do
), you can probably get file-sharing working by typing these 2 commands into the console:echo 1 > /proc/sys/net/ipv4/ip_forward ipchains -I forward -s 192.168.0.0/24 -d 0/0 -j MASQ I am not a l33t Linux user, I'm a newbie, so I don't know if this is the best solution to the problem... it's quick though - hope it helps you! ![]() |
|
#4
|
|||
|
|||
|
It's important to not to forget the security factors when using ipchains or iptables to do masquerading (or infact at any time).
Although it is simple enough to enable Internet Sharing (IP Masquerading) with a couple of commands, you shouldn't do this without proper firewalling to accompany it. Make sure you find a suitable firewall script that supports IP Masquerading instead of just enabling IP Masquerading. Just food for thought. ![]() |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > linux for internet connection sharing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|