I'm trying to use Tor as standalone socks server available for whole local network.

I've set up connection in my torcc file as follows:

#listen on all IPs
SocksPort 9150

I run the Tor using following windows command:

App\tor.exe -f .\Data\Tor\torrc

This is how I configured Firefox proxy settings for Tor on my PC (on others computers, I entered my local IP address):

The firefox proxy settings

On my PC it works, but no remote PC can connect. NMap says that the port is "FILTERED".

I confirmed the firewall dialog that popped up the first time I ran the server, saying "Allow". I also manually added exceptions for port 9150 in firewall settings.

Anything else I can do?

  • can you telnet to the port from another host? what does this return in powershell as admin (run on the server)? netstat -abno | findstr 9150 Mar 28 '14 at 16:38
  • also just a recommendation, Safeplug is the best way to run tor for a whole network, as it doesn't live or die by client proxy configuration. pogoplug.com/safeplug Proxy leakage is the biggest vulnerability for tor, and its really really hard to be sure that you aren't leaking somthing (especially DNS queries which give away what you are doing). Mar 28 '14 at 16:41

You need to specify a SocksPort in the torrc file on the IP of the network where you want to expose the proxy. Note that the port must be different to the one used for the local connections (9050 by default). Given that the IP address where you Tor runs is you should add:


Also I have set a SockPolicy to accept the connections from the local network. Given that your local network is * you should add:

SocksPolicy accept

Note that, according to the comment in the default configuration, the SockPolicy is not needed:

If no SocksPolicy is set, we accept (and only) requests that reach a SocksPort. Untrusted users who can access your SocksPort may be able to learn about the connections you make.


Set your SocksListenAddress to your local IP address. You can find this using the command ipconfig, then looking for your Ethernet/Wifi adapter. Then use this same address from the other PCs.

enter image description here

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.