SquidProxy using OpenVPN Tunnel
-
I have a standard setup running, NATing all traffic from my LAN to WAN. Additionally I want to setup a VPN Client Connection to a VPN Provider (NordVPN) and use a Squid Proxy to send all traffic originating from the Proxy through the tunnel (leaving the "regular" traffic not using the Proxy as is).
I managed to set up the VPN Client via OpenVPN, configured a new interface using the new connection, added a "pass all" rule to the interface, setup Squid, configured Squid to use the Tunnel Interface for outgoing traffic, configured squid to use different DNS Server (8.8.8.8).
The frustrating thing is it works a bit! When configuring my browser to go through the proxy and open wikipedia (all caches cleared) it loads a bit. The website makes about 9 requests to load the page and its resources. Some requests do work others time out not getting any data back.
If I reconfigure the proxy to use the WAN interface for outgoing traffic all works well, so it must have something to do with the OpenVPN tunnel.Does anybody use a similar setup ? Any ideas on how to debug further?
Thank you for your replies.
-
This post is deleted!