Download deploy/torrc.example from abr00kx/taper: direct link, hf CLI and curl.
- Browser
- Download file 1.42 kB
-
https://huggingface.co/abr00kx/taper/resolve/main/deploy/torrc.example
- Command line
-
hf download hf://abr00kx/taper/deploy/torrc.example
-
curl -L -o torrc.example https://huggingface.co/abr00kx/taper/resolve/main/deploy/torrc.example
1.42 kB
| # Tor configuration for a Taper server as an onion service. Append to | |
| # /etc/tor/torrc (or use as a separate torrc) and restart Tor. See | |
| # deploy/README.md, "Running on Tor". | |
| # The onion service. Tor creates the directory, the keys and the | |
| # `hostname` file holding the address. Back up hs_ed25519_secret_key: | |
| # losing it loses the address, and so every user ID on the server. | |
| HiddenServiceDir /var/lib/tor/taper/ | |
| HiddenServicePort 80 127.0.0.1:8080 | |
| # Add this too if Taper also serves TLS (TAPER_TLS_CERT), for post-quantum | |
| # protection inside the onion service: | |
| #HiddenServicePort 443 127.0.0.1:8443 | |
| # Proof-of-work defence against introduction floods (Tor 0.4.8+). | |
| HiddenServicePoWDefensesEnabled 1 | |
| # Limit streams per circuit, and close circuits that exceed it. | |
| HiddenServiceMaxStreams 64 | |
| HiddenServiceMaxStreamsCloseCircuit 1 | |
| # Only invited users can reach the service at all: put one | |
| # <name>.auth file per user in /var/lib/tor/taper/authorized_clients/ | |
| # (see "Client authorization" in Tor's manual). Optional. | |
| # The SOCKS port Taper uses for outbound federation (TAPER_TOR_SOCKS). | |
| # IsolateSOCKSAuth (on by default) gives each peer its own circuits. | |
| SocksPort 127.0.0.1:9050 IsolateSOCKSAuth | |
| # Where Tor is blocked, use bridges, for example Snowflake or WebTunnel: | |
| #UseBridges 1 | |
| #ClientTransportPlugin snowflake exec /usr/bin/snowflake-client | |
| #Bridge snowflake ... (from https://bridges.torproject.org) | |