Hello,
I have two webservers (I call them web1 and web2).
Web1 is the one connected to the internet an web2 is located in my internal network. On both I use Apache 1.3.28.
Web1 works as proxy and builds the connection to web2 for clients in the internet.
Now I have configured two networkinterfaces, one physical and one virtual (eth0 and eth0:1) on web1. On the ip-address from eth0 I can access the website located on web1.
When I open a connection to the ip-address from eth0:1 the proxy-rule should redirect the clientsrequest to web2. It already works at the moment but if you watch the networktraffic on web2 all request are comming from the ip-address from the interface eth0!
I have the need that the traffic comes from eth0:1.
Could anyone give me some advice how I could handle that? It would be a great help for me!
Thanks in advance
Martin Broll
I have two webservers (I call them web1 and web2).
Web1 is the one connected to the internet an web2 is located in my internal network. On both I use Apache 1.3.28.
Web1 works as proxy and builds the connection to web2 for clients in the internet.
Now I have configured two networkinterfaces, one physical and one virtual (eth0 and eth0:1) on web1. On the ip-address from eth0 I can access the website located on web1.
When I open a connection to the ip-address from eth0:1 the proxy-rule should redirect the clientsrequest to web2. It already works at the moment but if you watch the networktraffic on web2 all request are comming from the ip-address from the interface eth0!
I have the need that the traffic comes from eth0:1.
Could anyone give me some advice how I could handle that? It would be a great help for me!
Thanks in advance
Martin Broll