• Blog
  • Research
  • Network-wide Tor SOCKS Proxy

    17 July, 2020 | General Hackery

    Doing Tor on the web is simple - you basically install the tor package from most distributions' repositories and configure the web browser to use as a SOCKS5 proxy. But what if, like me, you have half a dozen machines on the network that all need web access over Tor, and you feel it's more efficient to just have one Tor client for the whole network rather than one per host?

    It's actually really simple, but I found it quite hard to google the problem. To allow access to Tor to non-localhost hosts, look in the file


    and add the line

    SOCKSListenAddress [ip_address]

    where [ip_address] is the IP address of the machine on which Tor is installed. Then configure access with one of the following

    SOCKSPolicy accept # Allow access to any host on 192.168.x.x
    SOCKSPolicy accept * # Allow access to absolutely everything

    Save the file, and do

    sudo service tor status

    to restart Tor, and it should allow any web browser on the local network to use it as a SOCKS proxy.