LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-17-2003, 10:21 PM   #1
vher
LQ Newbie
 
Registered: Dec 2002
Posts: 17

Rep: Reputation: 0
internet sharing


hi there i am new using linux and im planning to have my network srever as linux but i dont know how to share the internet what should i do and what should i install coz now im currently using windows an the network sharing already working..

i want to use linux for some reasons.. so is theres anybody can tell me what should i do to share the internet ovre the network? my inet connections using xDSL.
 
Old 01-18-2003, 03:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,385

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
you need to enable ip masquarading. there are docs about it you can find by google, and lots of information on this site. i personally use an aplication called Firestarter to set it all up for me along with a decent firewall, but at the simplest level it can be done by running
Code:
/sbin/ipchains -A forward -i eth1 -j MASQ
echo 1 > /proc/sys/net/ipv4/ip_forward
where eth1 is the external interface. that's an old version of the commands though, and shouold be using "itptables" instead of "ipchains" but i can't remember the alternative version.
 
Old 01-18-2003, 03:30 AM   #3
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
you need to..
* get dhcpd and run it on the network card that's plugged into the other computers.
* edit /etc/ppp/pppoe.conf and run /usr/sbin/adsl-start to connect up the linux to the adsl.
* and use iptables to install masquerading .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Sharing crazykiller Linux - Networking 12 10-29-2005 05:06 AM
mandrake 10.1 sharing files and internet sharing xfiles_arram Linux - Networking 0 05-21-2005 02:22 PM
Help me in Internet Sharing - How to ? Y2J Linux - Networking 1 10-29-2003 11:40 AM
File sharing and internet sharing mullet Linux - Networking 1 10-14-2003 01:30 PM
internet sharing jetfreggel Linux - Newbie 11 05-23-2002 11:30 PM


All times are GMT -5. The time now is 09:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration