Using Proxy also through an OpenVPN connection

Started by minime, February 08, 2017, 05:16:58 PM

Previous topic - Next topic
Hi guys,

Might be a simple question for you, but I can't figure this quite out. I have a working squid for my LAN, but now I would also make use of it when connected through a OpenVPN connection. How can I achieve this?

Many thanks,
Minime

Anyone? I tried it with Port Forwarding with no effect.

Does it work, when you configure it in your client and allow it in your firewall rules (for example pass openvpn_net to self port 3128)

No, and I start to think that it is not possible as it would break the secure connection...  :-/

So your real question is "How do I connect to an OpenVPN server through the proxy?"?

If yes: you need an ACL which will allow a HTTP CONNECT request to your server.

Hmmm...not sure, but I think this is not what I mean.

I would like to establish a OpenVPN connection first and then use my squid/proxy to improve performance and also to filter unwanted sites. I am using the OpenVPN server on port 443. Squid is only listening on port 80 (no SSL certificate).

Can I provide further information? What would you need?

just add ip:80 as proxy to your browser configuration.