LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-13-2005, 09:11 AM   #1
asahlot
Member
 
Registered: Sep 2005
Location: india
Distribution: Fedora Core 2
Posts: 62

Rep: Reputation: 15
connecting Linux LAN to internet


hello all,
i m fed up now.. i am using fedora core 2... i have a small LAN of 4 computers.. Three are running Fedora Core 2 and one is ruuing Windows XP.. My computer whcih is running Fedora Core 2 in directly connected to internet through a broad band connection.. To connect to internet i am setting up system as a router.. i have set all the iptables rules but still i am unable to access internet by using other systems..
the steps which i followed are from this link http://www.lesbell.com.au/Home.nsf/0...penDocument...
if some one help me ...please come up its very urgent for me to connect my LAN to internet...
Thanx in advance..
Regards
 
Old 10-13-2005, 10:15 AM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
try this as root:
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
This is what enables "nat" on my system. Also make sure to setup dns on all the clients.
 
Old 10-13-2005, 06:24 PM   #3
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Using iptables directly is a bit arcane, you might find it easier to install firestarter (http://www.fs-security.com), its a GUI firewall config program and it appears to have an 'Internet Connection Sharing' wizard.

If you don't mind not having a GUI you could use shorewall, it allows you to edit simple config files to setup iptables rules and it has some very good documentation: http://www.shorewall.net/Documentation_Index.html (see the Quickstart Howtos).
 
Old 10-14-2005, 04:19 AM   #4
asahlot
Member
 
Registered: Sep 2005
Location: india
Distribution: Fedora Core 2
Posts: 62

Original Poster
Rep: Reputation: 15
thank to tkedwards

hi frnd..
i hav installed firestarter as u recommend and now i hav got my LAN connected to internet...
thankyou very much...
regards,
 
Old 10-14-2005, 07:36 AM   #5
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You really should add this post to your original thread so that anyone finding it will know the solution worked. Also the person that you're thanking likely subscribed to that thread when he posted and will be more likely to see your thanks there.
 
Old 10-14-2005, 08:35 AM   #6
asahlot
Member
 
Registered: Sep 2005
Location: india
Distribution: Fedora Core 2
Posts: 62

Original Poster
Rep: Reputation: 15
thank to tkedwards

hi frnd..
i hav installed firestarter as u recommend and now i hav got my LAN connected to internet...
thankyou very much...
regards,
 
Old 10-14-2005, 01:23 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
asahlot, your threads have been merged. Please try and keep to one thread per discussion.
 
  


Reply



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
Problem with Linux PC connecting to Internet, but not LAN. tofu713 Linux - Networking 5 04-23-2005 11:54 AM
Connecting to the internet through my school's LAN Brakki Linux - Networking 1 03-31-2004 02:20 PM
Connecting Linux box to Internet through Windowx XP box over LAN pcd007 Linux - Networking 1 03-14-2004 09:02 AM
Problem with LAN connecting to internet. duffboygrim Linux - Networking 6 02-29-2004 04:50 PM
Connecting to internet through LAN HELP PLZ TheTruthHurts Linux - Networking 7 10-01-2003 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration