OPNsense Forum
English Forums => Web Proxy Filtering and Caching => Topic started by: meelokun on November 16, 2022, 05:45:03 pm
-
Is it possible to utilize OPNsense to filter specific websites and redirect them to an existing proxy service (privoxy) that is active on another device on the same subnet? (As opposed to configuring each client's proxy settings with the privoxy server, and pushing through all web traffic through the proxy that is using a VPN).
Or should i think about filtering specific URLs through a VPN? Is that even possible?
[the idea being, that any device on the LAN, can go to said URL, and it would be tunneled through the proxy, without any additional configuration on the client side]
Why?: My ISP decided this URL should be blocked (ip aware blocking, dns changes made no difference), and thus a proxy/vpn was necessary to overcome that.
Just a thought i had, and am curious if either scenario is feasible or not. And if so, how would one get that configured?
Update: This looks like what im looking for https://docs.opnsense.org/manual/how-tos/proxytransparent.html
Update 2: I think im looking at this the wrong way, maybe i can utilize HAProxy... i might have to post this on the HAProxy forum though...
-
Kind of late but for future references, you can achieve what you want in several ways:
Or should i think about filtering specific URLs through a VPN? Is that even possible?
Sure you can, you need to configure a parent proxy and send these specific links to it and then route the parent through the VPN tunnel (read more on cache_peer)- You can also route all proxy traffic through the VPN.
For a how to you can read the tutorial I wrote: https://forum.opnsense.org/index.php?topic=32642.0 (https://forum.opnsense.org/index.php?topic=32642.0)