Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old January 28th, 2002, 10:14 PM
ecastanedo ecastanedo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: Los Angeles, California
Posts: 102 ecastanedo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 10 sec
Reputation Power: 9
Question linux for internet connection sharing

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

Reply With Quote
  #2  
Old January 28th, 2002, 10:33 PM
BlurZero BlurZero is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Location: Edmonton, AB, Canada
Posts: 44 BlurZero User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via ICQ to BlurZero

Reply With Quote
  #3  
Old January 29th, 2002, 03:31 PM
CodE-E CodE-E is offline
<(>_~)>
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Posts: 315 CodE-E User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
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!

Reply With Quote
  #4  
Old February 17th, 2002, 10:16 PM
stuie stuie is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Location: Brisbane, Australia
Posts: 21 stuie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 38 sec
Reputation Power: 0
Exclamation security

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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > linux for internet connection sharing


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway