Networking Forums

Networking Forums > Computer Networking > Linux Networking > Virtual hosts + proxypass question

Reply
Thread Tools Display Modes

Virtual hosts + proxypass question

 
 
Chris Stoddart
Guest
Posts: n/a

 
      12-06-2004, 10:49 AM

Hi gurus,

I have three webservers running on one redhat system using virtual
network interfaces (1 net card, 3 IP addresses). One of the web
servers uses proxypass to pass requests for a tomcat service to a
second machine inside a firewall. It works fine, except the requests
can appear to come from any one of the three virtual machines. This
means that I need three firewall holes open to pass requests for just
the one service.

Is there any way of controlling which of the three virtual machines
requests come from? Likewise is there any way of restricting other
outgoing services (i.e. ssh) to ensure they appear to come from
one machine only?

Chris
 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      12-06-2004, 10:56 AM
On 2004-12-06, Chris Stoddart <(E-Mail Removed)> wrote:
> I have three webservers running on one redhat system using virtual
> network interfaces (1 net card, 3 IP addresses).


They are called aliases.

> Is there any way of controlling which of the three virtual machines
> requests come from?


Configure your iptable to masquerade only with one ip.

Davide

--
Going from DOS to Linux is like trading a glider for an F117.
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache virtual hosts not resolving correctly Ninjak on FW Linux Networking 5 01-12-2007 12:56 PM
nis question pertaining to nis and hosts kevinm3574 Linux Networking 0 01-11-2006 07:57 PM
Can a router do proxypass? Becker Network Routers 0 01-06-2005 05:09 PM
Apache Virtual Hosts Rich Grise Linux Networking 6 12-25-2004 10:45 PM
virtual hosts, ownership of logs Ohmster Linux Networking 0 08-08-2004 03:33 AM



1 2 3 4 5 6 7 8 9 10 11