# Specific URL Redirect to Privoxy Instance

**URL:** <https://discourse.haproxy.org/t/specific-url-redirect-to-privoxy-instance/8131>\
**Category:** Help!\
**Created:** [November 17, 2022, 12:26am UTC](https://discourse.haproxy.org/t/specific-url-redirect-to-privoxy-instance/8131 "2022-11-17T00:26:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![meelokun](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.haproxy.org/meelokun/32/1795_2.png) [@meelokun](https://discourse.haproxy.org/u/meelokun)\
**Post date:** [November 17, 2022, 12:26am UTC](https://discourse.haproxy.org/t/specific-url-redirect-to-privoxy-instance/8131/1 "2022-11-17T00:26:54Z")

</div>

Hello! I currently have HAProxy configured as a reverse proxy on OPNsense using wildcard certificates from Let’s Encrypt to access various personal services on the internet, and some that are only accessible from my LAN only.

Now that i got a taste of HAProxy, im wondering if it can also be used to redirect specific URLs (from any client on my network), to a Privoxy/VPN docker instance to tunnel those URLs. My ISP IP Blocked a site i frequented, and thus i had to use Privoxy/VPN to overcome this (no DNS changes would matter). The Goal is to not have to configure each clients browsers proxy settings and tunnel all traffic through the Proxy tunnel. I only need 1 URL tunneled…

Should i be creating a new Map file, a new condition, and a new rule, and adjust my public services to incorporate?

I have no idea, im just spit balling… wondering if someone could guide me!

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [November 17, 2022, 8:48am UTC](https://discourse.haproxy.org/t/specific-url-redirect-to-privoxy-instance/8131/2 "2022-11-17T08:48:44Z")

</div>

Haproxy is a reverse proxy, you need a forwarding proxy.

While you can achieve some of the things required for a forwarding proxy with haproxy, it is a pain and I’m unable to help with the configuration.

You should look at something like tinyproxy.

---

<div class="post-metadata">

**Author:** ![meelokun](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.haproxy.org/meelokun/32/1795_2.png) [@meelokun](https://discourse.haproxy.org/u/meelokun)\
**Post date:** [November 18, 2022, 3:04am UTC](https://discourse.haproxy.org/t/specific-url-redirect-to-privoxy-instance/8131/3 "2022-11-18T03:04:33Z")

</div>

someone on stackoverflow posted a similar request 4 years ago.

> <https://stackoverflow.com/questions/49433417/setup-https-forward-proxy-with-haproxy>

but they hit a wall, because https forwarding wasnt working, or possible (at the time presumably?)

i appreciated the explanation here regarding the differences between a reverse proxy and forwarding proxy.

> <https://stackoverflow.com/questions/224664/whats-the-difference-between-a-proxy-server-and-a-reverse-proxy-server/366212#366212>

now i just gotta figure out where to start… ideally id like to not have to go off and get/learn new software (like tinyproxy). And stick with what i have. But i understand that may not be possible
