[Users] openvz , iptanbes, squid reverse proxy, web access

Daniel Rossi electroteque at gmail.com
Tue Jun 9 11:27:13 EDT 2009


hi there i have setup my vz system, so that i port forward port 80 to  
a container running squid which reverse proxies to sites running  
inside openvz containers via their virtual ip. my issue is and has  
been changes i make either block full access to the web from each  
container or they cannt access any site via their domain running in  
their own container or another one even though i have properly setup  
the iptables post routing to allow internet access.

  My problem seems to be when the containers are trying to access the  
site it gets stuck at squid and cant get reverse proxies properly, how  
is it possible to set up the iptable configuration so they request the  
site domain via the public ethernet etc.

this is my problem

* About to connect() to domain port 80 (#0)
*   Trying myip ... Connection refused
* couldn't connect to host
* Closing connection #0
curl: (7) couldn't connect to host


and requestion google is fine

*   Trying 66.102.11.99... connected
* Connected to www.google.com (66.102.11.99) port 80 (#0)
 > GET / HTTP/1.1

This issue is breaking a system requiring access trying to load in  
some feed from another system.

any ideas ? 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20090610/a8e476fd/attachment.html


More information about the Users mailing list