2021/02/20

Install tor as proxy

Install tor

sudo apt-get install tor

Test tor

curl --socks5 localhost:9050 --socks5-hostname localhost:9050 --insecure -s https://check.torproject.org/ | cat | grep -m 1 Congratulations | xargs

You will get message "Congratulations. This browser is configured to use Tor." if tor work.

Edit tor config to open listen port on lan

sudo nano /etc/tor/torrc
    Search for "SocksPort 9050" and replace with:
        SocksPort 9050
        SocksPort 192.168.56.4:9051    # open sock port for other stations.

# restart tor service
sudo service tor restart

# check listen port
ss -nlt

Setup your browser proxy


Check if you are tor

https://check.torproject.org/