tor-hs: add new package

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
This commit is contained in:
Jan Pavlinec
2020-03-24 15:35:08 +01:00
parent eef3d14af7
commit 5906bfecd5
6 changed files with 407 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
config tor-hs common
#option GenConf "/etc/tor/torrc_hs"
option GenConf "/etc/tor/torrc_generated"
option HSDir "/etc/tor/hidden_service"
option RestartTor "true"
option UpdateTorConf "true"
#config hidden-service
# option Name 'sshd'
# option Description "Hidden service for ssh"
# option Enabled 'false'
# option IPv4 '127.0.0.1'
# #public port=2222, local port=22
# list PublicLocalPort '2222;22'
#config hidden-service
# option Name 'nextcloud'
# option Description "Hidden service for Nextcloud"
# option Enabled 'false'
# option IPv4 '127.0.0.1'
# option HookScript '/etc/tor/nextcloud-update.sh'
# list PublicLocalPort '80;80'