Web Proxy to use VPN Tunnel

Started by NugentS, July 10, 2022, 12:52:40 AM

Previous topic - Next topic
I have set up OpnSense on a test box with a VPN to a VPN Provider. When I use the web proxy (I assume squid) on the OpenSense box the resulting request and traffic goes through the WAN interface and not the tunnel.

Is there a way of forcing the proxy to use the Wireguard Gateway, or ideally the Gateway Group?

So I guess either:
1. No one knows
2. Not possible

And I seem tyo have posted the same question twice - going senile I guess

Disclaimer: All advice presented is "AS IS", no warranties.
I'm not part of the opnsense team, just trying to help.

December 01, 2023, 05:17:15 AM #4 Last Edit: December 01, 2023, 12:15:02 PM by AllenSchwartz
Just stumbled across your post from last year about setting up a web proxy with OpnSense and Squid to work through a VPN tunnel. It caught my attention because I've been dabbling in something similar recently.I see you were having trouble with traffic routing through the WAN instead of the VPN tunnel. That can be a bit tricky. If you haven't resolved it yet, or for anyone else who might come across this issue, the key usually lies in adjusting the routing and firewall settings.Also, about proxies, I'd recommend checking out this proxy for instagram. General wisdom suggests using residential proxies for web scraping purposes, especially with platforms like Instagram.