OpenVPN and Squid Setup troubleshooting

Posted by Adam on Super User See other posts from Super User or by Adam
Published on 2012-09-07T19:45:38Z Indexed on 2012/09/09 21:40 UTC
Read the original article Hit count: 154

Filed under:
|
|

I am trying to setup squid to tunnel via openvpn so that I can just enter an Ip and port in my browser settings and use it as a US proxy. My server is a OpenVZ VM. Running into some issues:

iptables -t nat -A POSTROUTING -o venet0 -j SNAT --to-source

iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j SNAT --to-source

Next, I went to my browser proxy settings and put - 10.8.0.1 in the HTTP field. Put the port I had setup in the squid config file and tried to load a page. Nothing connecting.

Any help? What am I doing wrong?

© Super User or respective owner

Related posts about virtual-machine

Related posts about vpn