Skip to content

Instantly share code, notes, and snippets.

@stokito
Last active June 27, 2022 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stokito/2a7ab43cb409afa9eef8061dd12ed82f to your computer and use it in GitHub Desktop.
Save stokito/2a7ab43cb409afa9eef8061dd12ed82f to your computer and use it in GitHub Desktop.
Single Onion Service
# https://riseup.net/ru/security/network-security/tor/onionservices-best-practices
# https://www.kicksecure.com/wiki/Non_Anonymous_Onion_Encryption_and_NAT_Traversal
# https://tor.stackexchange.com/questions/14674/problems-setting-up-a-single-onion-service
# https://medium.com/hackernoon/how-does-tor-really-work-c3242844e11f
# https://www.youtube.com/watch?v=VmsFxBEN3fc
# https://www.youtube.com/watch?v=HQXRURfrf8w
# Edit /etc/tor/torrc
SOCKSPort 0
HiddenServiceDir /var/lib/tor/YOUR_HIDDEN_SERVICE/
HiddenServicePort 80 127.0.0.1:80
HiddenServicePort 443 127.0.0.1:443
HiddenServicePort 22 127.0.0.1:22
HiddenServiceSingleHopMode 1
HiddenServiceNonAnonymousMode 1
@stokito
Copy link
Author

stokito commented Jun 27, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment