-
-
Save tiran/99ffb724c00645d83edd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## /etc/tor/torrc | |
# hidden service | |
HiddenServiceDir /var/lib/tor/ssh | |
HiddenServicePort 22 127.0.0.1:22 | |
# relay | |
ORPort 9001 | |
Nickname some name | |
RelayBandwidthRate 100 KB # Throttle traffic to 100KB/s (800Kbps) | |
RelayBandwidthBurst 200 KB # But allow bursts up to 200KB/s (1600Kbps) | |
ContactInfo Your Name <mail AT example DOT com> | |
ExitPolicy reject *:* # no exits allowed | |
## ~/.ssh/config | |
Host *.onion | |
ProxyCommand /bin/nc -xlocalhost:9050 -X5 %h %p | |
Host onion-ssh | |
# get your host name from /var/lib/tor/ssh/hostname | |
hostname foo.onion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment