Internet for Applications

If an applications directly supports SOCKS proxies you can pass it the IP of the Tor router directly by whatever means the application supports.

Some, like the Void package manager XBPS support the SOCKS_PROXY environment variable. Others, like Monero, will take the proxy IP as command line argument.

torsocks (for any application)

If an application lacks direct SOCKS support, the torsocks command can usually be used to transparently route that application's traffic through Tor anyway.

Just prepend a command with "torsocks -a -P 9050 --isolate".

Container connection test

If your host is correctly connected to the Internet you should be able to establish a connection via Tor. Try it:

  1. Bring up a terminal (Alt+Shift+Enter) and check your Tor IP by telling curl to use the Tor router as proxy:
    $ curl --proxy socks5h://
  2. Check your Tor IP transparently by wrapping curl within the torsocks command:
    $ torsocks -a -P 9050 --isolate curl

Note that your IP displays differently on every invocation as every connection establishes a new Tor circuit.

Further examples


$ chromium --proxy-server=socks://


$ GIT_SSH_COMMAND="ssh -o ProxyCommand='nc --proxy-type socks5 --proxy %h %p'" git push origin master:master

See footnotes git1, ssh2


$ monero-wallet-cli --proxy --untrusted-daemon --daemon-host 4egylyolrzsk6rskorqvocipdo4tqqoyzxnplbjorns7issmgpoxvtyd.onion

See footnote monero3

Rsync over SSH

$ rsync --rsh 'ssh -o ProxyCommand="nc --proxy-type socks5 --proxy %h %p" -va /tmp/FILE user@host:/tmp/ [^ssh]

See footnote ssh2

Secure Shell

$ ssh -o ProxyCommand='nc --proxy-type socks5 --proxy %h %p' user@host

See footnote ssh2

Tor Browser

Connecting Tor Browser


$ youtube-dl --proxy socks5://`shuf -n1 -i 9050-9059` <VIDEO_ID>


$ SOCKS_PROXY=socks5:// xbps-install -Su

  • 1: If this fails and a warning regarding LFS is displayed, try disabling it as instructed.
  • 2: Requires netcat which is, among others, provided by the nmap package.
  • 3: See for a list of Tor remote nodes.