OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: meelokun on November 16, 2022, 05:45:03 pm

Title: [Question] Specific URL Redirect to Privoxy Instance
Post 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...
Title: Re: [Question] Specific URL Redirect to Privoxy Instance
Post by: Amr on February 27, 2023, 03:21:26 pm
Kind of late but for future references, you can achieve what you want in several ways:
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)