I'm trying to redirect some port 443 connections through tor using redsocks. But when redsocks accesses tor, the client connections get dropped, and tor gives this warning:

[warn] Missing mapping for virtual address '[scrubbed]'. Refusing.

I'm using Tor and redsocks/0.4 with Osx 10.9.

The redirection is done with pfctl in pf.conf like this:

rdr pass on $src inet proto tcp from any to any port 443 -> port 8888

I don't have an idea what the issue is here. Plz, someone help! :)

1 Answer 1


For that to work, you need a SocksPort line in Tor's configuration file, torrc. Using OS X, that's probably ~/.tor/torrc or /Library/Tor/torrc. You need to add this line:

SocksPort 8888

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.