Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to configure a squid proxy on a firewall to route all requests normally, except the ones to *.onion sites, which should be forwarded to socks5 tor proxy. How do I achieve this?

Bonus question: I am using pfsense as a firewall, which somewhat limits me in the way or modifying configuration. I do see there is a "custom options" dialog box, into which I assume I can paste necessary options

share|improve this question
Somewhat related. superuser.com/questions/423563/convert-http-requests-to-socks5 There are several options mentioned for an HTTP->socks proxy. So set one of those up, then connect squid to that proxy via cache_peer. christianschenk.org/blog/using-a-parent-proxy-with-squid –  Zoredache Dec 19 '13 at 18:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.