LinuxQuestions.org
Help answer threads with 0 replies.
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 12-15-2005, 07:47 PM   #1
gigsz
LQ Newbie
 
Registered: Dec 2005
Posts: 18

Rep: Reputation: 0
Question linux server routing


hey i'm kinda new with linux and very very unfamiliar with networking.. any here's my situation... our company has currently installed 2 broadband connection on the server.. all the workstations have their ip's blocked by the servers so that they cannot have access to the internet.. only 2 linux server (one is cent OS and the other red hat enterprise) have an access to the internet.. so i was asked to investigate about making the linux servers act as router so that my workstation can access the internet through the linux servers.... i found several topics about routing but i think my situation is a bit different because the linux server is not really the source of the internet but rather only a workstation in itself..

so can anyone help me out... or please point me to the right direction.. i've tried ipmasq, iproute2, iptables but doesn't seem to work... and also, please make your instructions very simple because i've not really studied much on networking....

thanks a lot =)
 
Old 12-15-2005, 08:29 PM   #2
edcutis
Member
 
Registered: Jun 2003
Location: USA, Missouri
Distribution: mandriva , Kubuntu, MEPIS
Posts: 140

Rep: Reputation: 15
one solution for small business would be to use NAT (network address translation) and let the linux server offer DHCP addresses to your network. You could also use squid and/or dansguardian to filter your internet at work. You would have to set up the following:

DHCP server
Squid
Dansguardian
Firewall ports (for the local network)

Of course, there are other ways to go This is just one of them!
 
Old 12-15-2005, 08:46 PM   #3
gigsz
LQ Newbie
 
Registered: Dec 2005
Posts: 18

Original Poster
Rep: Reputation: 0
hey thanks... i'll look into that... =)
here's the network configuration.. internet access: 192.25.253.1 my local pc: 192.25.253.119 linux servers 192.25.253.5 and 192.25.253.121

so can anyone please show me how to have access on 192.25.253.1 using 192.25.253.5 as the gateway of my pc 192.25.253.119.. please and thanks
 
Old 12-16-2005, 04:21 AM   #4
gigsz
LQ Newbie
 
Registered: Dec 2005
Posts: 18

Original Poster
Rep: Reputation: 0
ey can anyone teach me about this command "iptables -t nat etc.etc." i tried an example and it made the routing work .. my problem is people who posted the command also added that it will leave the network unprotected. =)
 
  


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
Linux Server routing failed! please help me? jeffhan Linux - Networking 4 08-03-2005 12:25 PM
iptables routing for a win2k3 server dawime Linux - Networking 4 07-15-2005 10:59 AM
Name Server Routing Problem carloconcillado Linux - Networking 2 06-15-2005 10:26 AM
how do multi routing for email server? masroor Linux - Networking 1 12-02-2003 08:37 AM
samba server and routing sambanewbie Linux - Networking 1 11-21-2002 03:54 PM

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

All times are GMT -5. The time now is 08:40 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