Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-25-2011, 10:51 PM   #1
LQ Newbie
Registered: Sep 2009
Location: Bangalore, India
Distribution: RHEL, Fedora, Ubuntu
Posts: 24
Blog Entries: 1

Rep: Reputation: 0
Redirection of Private Network packets in the Gateway

Hi All,

This is my setup:

I have users using Windows XP, Windows 7, Linux (Fedora) and Mac. They all are in a single private network and all access internet through a Linux (RHEL5) system in which Squid acts as gateway. The same is true with my branch offices too except that private network is different and gateway system uses Fedora 9 instead of RHEL5. All the branch offices are connected through point to point leased lines with the head office for file transfer.

My requirement is this:

I have a web server located at head office. Presently I am able to access this server from my branch offices through internet. I would like to access this server from branch offices through leased lines. This too I am able to access if I do routing in users system. The file transfer is taking place through one to one system at two ends by creating static routing in those systems.

Is there any way I could redirect the requestes to the specific web server through leased circuit from the gateway system running squid.

You help would be highly appreciable. Thanking all those who enlighten me in Linux. Regards.
Old 07-26-2011, 03:16 AM   #2
Registered: Oct 2004
Location: USA
Distribution: Ubuntu-Server, Mac OS X, Arch Linux
Posts: 356

Rep: Reputation: 48
I'm not sure that I'm understanding the question, but if I am, then on the servers gateway router, you can use port forwarding; forward port 80 to the web server's ip address.

let me know if this helps, or please give us more details. this seems like a simple issue...


gateaway, routing, squid

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
Mornitoring passing-through packets on tha gateway simon_qwl Programming 4 05-31-2007 11:16 PM
Private server with main computer as gateway? Banyon Linux - Networking 5 05-13-2006 12:30 AM
Setting up gateway to share internet for private LAN muru Linux - Networking 6 09-17-2005 09:08 PM
private address internet gateway jinan Linux - Networking 1 02-08-2005 12:16 PM
Logging\Filtering Packets Through a Gateway ASP Linux - Software 2 10-21-2003 11:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:44 PM.

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