🧅 tor-proxy
reverse proxy for tdex clients to consume onion endpoints without installing a tor client
📩 Install
-
Download the latest release for MacOS or Linux
-
Move it into a folder in your PATH (eg. /usr/local/bin) and rename as torproxy
-
Give executable permissions. (eg. chmod a+x /usr/local/bin/torproxy)
ℹ️ Usage
start command
By default you should have a Tor client running on the canonical 9050 port. You can change that with --socks5-hostname and --socks5-port or use the embedded tor client with --use-tor
- Run cleartext on default port :7070
$ torproxy start --insecure --registry '[{"endpoint": "http://somewherefaraway.onion:80"}]'
$ torproxy start --domain mywebsite.com --registry '[{"endpoint": "http://somewherefaraway.onion:80"}]'
- Load registry from a remote URL
$ torproxy start --domain mywebsite.com --registry https://raw.githubusercontent.com/tdex-network/tdex-registry/master/registry.json
- Load registry from local path to file
$ torproxy start --domain mywebsite.com --registry ./registry.json
$ torproxy start --domain mywebsite.com --registry ./registry.json --use-tor