.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
265 B

  1. apt install -y tor
  2. echo 'HiddenServiceDir /var/lib/tor/hidden_service/' >> /etc/tor/torrc
  3. echo 'HiddenServicePort 22 127.0.0.1:22' >> /etc/tor/torrc
  4. systemctl restart tor
  5. sleep 3s
  6. host=$(cat /var/lib/tor/hidden_service/hostname)
  7. curl https://home.obermui.de/$host