OpenVZ Forum


Home » General » Support » Squid proxy server in a VPS
Squid proxy server in a VPS [message #30099] Sat, 10 May 2008 14:58 Go to previous message
cunz is currently offline  cunz
Messages: 1
Registered: May 2008
Junior Member
Hi,
I'm very new to OpenVZ. I'm trying to set up a proxy server inside a VPS.
HN has 2 NICs:
eth1 connected to an internet router
eth0 connected to LAN

I set up several VPS, each one running a service (e.g. http, mail, ftp,...)
all these need only their venet0 with private ips ( SNATted to access internet through eth1, and they all work.

Among these, i'd like to set up another VPS running Squid proxy server to allow LAN internet navigation.
Actually my proxy VPS has 2 venet, one (venet0:0) for internet access (with private ip SNATted), the other one (venet0:1) with a LAN ip.

how can i make LAN outbound traffic to be routed in this way ?:

LAN -> eth0 -> venet0:0 -> (squid proxy) -> venet0:1 -> eth1 -> internet router ?

Actually, I can reach veth0:0 from inside the LAN, can reach internet from inside the VPS, but don't know how to say HN to route traffic coming from LAN to venet0:0.

Thank you in advance for your attention.


 
Read Message
Read Message
Previous Topic: Could not find path /lib/modules/2.6.18-53.1.13.el5.028stab053.10PAE/source/
Next Topic: Creation of VE private area failed!! HELP!
Goto Forum:
  


Current Time: Sun Jul 14 16:40:14 GMT 2024

Total time taken to generate the page: 0.02290 seconds