OpenVZ Forum


Home » General » Support » *SOLVED* Source IP within VE
Re: Source IP within VE [message #7087 is a reply to message #7015] Tue, 03 October 2006 13:04 Go to previous messageGo to previous message
John Kelly is currently offline  John Kelly
Messages: 97
Registered: May 2006
Location: Palmetto State
Member
marcot wrote on Fri, 29 September 2006 17:02

Let´s say i´ve got the host running on 11.22.33.44 (first public IP), and my webserver within a VE with a public IP (second public IP).

When going through the logs or tracing packages by tcpdump all packages arriving carry the IP of my host rather than of the client requesting the webpage (somehow obvious).

However, i´d like to have the client´s IP logged within the Apache logs...



Apache logs the client IP for me, and I don't do anything special to make it happen.


Quote:

Any clue / hint on how to set up transparent routing accordingly ?

I´m using the venet device and have added the public IP as an additional IP to venet within the host environment.



Don't do that. OpenVZ automatically publishes an ARP entry for you.



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Iptables port opening error CentOS
Next Topic: IPtraf
Goto Forum:
  


Current Time: Thu Aug 08 23:20:59 GMT 2024

Total time taken to generate the page: 0.02771 seconds