Linode Forum
https://forum.linode.com/

linux server routing
https://forum.linode.com/viewtopic.php?f=19&t=2004
Page 1 of 1

Author:  gigsz [ Thu Dec 15, 2005 10:09 pm ]
Post subject:  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 =)

Author:  gigsz [ Thu Dec 15, 2005 10:48 pm ]
Post subject: 

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

Author:  gmt [ Thu Dec 15, 2005 10:53 pm ]
Post subject: 

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.

Author:  id10t [ Tue Mar 07, 2006 9:56 pm ]
Post subject: 

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.

Author:  sednet [ Thu Mar 09, 2006 12:19 pm ]
Post subject:  Re: linux server routing

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.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/