LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-10-2005, 01:41 PM   #1
phonecian
Member
 
Registered: Jul 2003
Location: Au
Distribution: SLES8, centOS 3.5 & 4 servers, xandros desktops
Posts: 95

Rep: Reputation: 15
multiple webservers one gateway?


How can I put multiple server machines behind a single gateway? That is how can I forward port 80 to more than one internal ip address?
##scratching my head??
 
Old 03-10-2005, 01:45 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Simply put, you can't. For any given combination of EXTERNAL IP and port, only one service may respond to that. Your gateway has no way of knowing which of the webservers to forward the request onto. Perhaps there's some sort of proxy system that would allow the gateway to act as a webproxy and forward on based on hostname, but I'm not sure.
 
Old 03-10-2005, 02:30 PM   #3
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Really depends on what you're trying to achieve. Are you trying to get load balancing between multiple web servers? Or what? How many public IPs do you have?
 
Old 03-10-2005, 03:03 PM   #4
phonecian
Member
 
Registered: Jul 2003
Location: Au
Distribution: SLES8, centOS 3.5 & 4 servers, xandros desktops
Posts: 95

Original Poster
Rep: Reputation: 15
No its a matter of housekeeping. Two lotus notes server machines with dedicated support team need to sit along side an apache machine the house looks after.
 
Old 03-11-2005, 11:10 AM   #5
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Well, if they need to use the same port numbers on the outside, then they need distinct world-routable IP addresses.
 
  


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
Multiple provider gateway netboy Linux - Networking 1 11-21-2005 06:55 PM
multiple interfaces, default gateway sopiaz57 Linux - Networking 6 05-03-2005 02:02 PM
Webservers thekore Linux - Networking 2 06-13-2004 11:21 AM
port 80, firewalls, and webservers glevine Linux - Networking 8 06-03-2004 11:03 AM
small php webservers ? xconspirisist Linux - General 1 05-20-2004 06:42 AM

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

All times are GMT -5. The time now is 11:52 AM.

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