Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: linux server routing
PostPosted: Thu Dec 15, 2005 10:09 pm 
Offline
Newbie

Joined: Thu Dec 15, 2005 10:08 pm
Posts: 2
WLM: gigsz1@hotmail.com
Yahoo Messenger: gigsz1@yahoo.com
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 =)


Top
   
 Post subject:
PostPosted: Thu Dec 15, 2005 10:48 pm 
Offline
Newbie

Joined: Thu Dec 15, 2005 10:08 pm
Posts: 2
WLM: gigsz1@hotmail.com
Yahoo Messenger: gigsz1@yahoo.com
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


Top
   
 Post subject:
PostPosted: Thu Dec 15, 2005 10:53 pm 
Offline
Senior Member

Joined: Sun Jul 20, 2003 8:29 am
Posts: 100
Website: http://www.ipo-australia.com
Location: Tropical Queensland, Australia
Are you saying there are 2 servers, 2 IPs, each server has a direct broadband connection?

You probably have routers & firewalls as well. Surely there must be a networking expert at your company who set this up & maintains it. Its not really something you can configure without knowing the network topoology.

Anyway this has nothing to do with linode.


Top
   
 Post subject:
PostPosted: Tue Mar 07, 2006 9:56 pm 
Offline
Senior Newbie

Joined: Sat Nov 05, 2005 9:46 pm
Posts: 5
I'd recommend a 3rd server box. It will need 2 or 3 NICs in it that are linux compatable. There's probably a gui somewhere to turn on routing. One nic to The World, one nic to a DMZ (for your other 2 boxes), one nic to internal network. DMZ is sorta optional.

Do a bare install of Debian, add your favorite text editor, and get gShield from http://muse.linuxmafia.org. Edit the config file, change appropriately, and set it to load at boot. Then point your internal LAN clients to it as the default gateway. Up and running.

Then, go learn about iptables (I'm still just use gSheild and I've been using Linux for a *long* time) for real, and maybe setup a transparent proxy, etc.

_________________
This space for rent


Top
   
 Post subject: Re: linux server routing
PostPosted: Thu Mar 09, 2006 12:19 pm 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
gigsz wrote:
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 =)


Pay someone that knows what they are doing to do it. You are more likely to get something that's internet safe.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group