두 번째 *.onion 주소를 추가하는 데 문제가 있습니다. 다음을 추가했습니다.
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:80
HiddenServiceDir /var/lib/tor/hidden_service2/
HiddenServicePort 80 127.0.0.1:8081
에서는 torrc-file
첫 번째 *.onion 필드에 액세스할 수 있지만 두 번째 필드에는 액세스할 수 없습니다. 어떡해?
내 설정은 Keyhelp가 설치된 Debian Buster의 apache2-Server입니다. *.onion 도메인을 기존 클라이언트(Clearnet 도메인도 포함)에 추가했으며 두 클라이언트 모두에서 액세스할 수 있습니다. 그래서 새 클라이언트를 추가하고 에 두 줄을 추가하고 torrc
새 *.onion 도메인을 얻었습니다. 이 도메인은 디렉터리에서 Tor를 다시 시작한 후 새 클라이언트에 추가했지만 hidden_service2
Tor 브라우저 액세스를 통해 작동하지 않습니다.
로그는 다음과 같습니다.
Dez 09 16:43:35 XXXXXXX.XXXXX.de Tor[8197]: Interrupt: exiting cleanly.
Dez 09 16:43:35 XXXXXXX.XXXXX.de systemd[1]: Stopping Anonymizing overlay network for TCP...
Dez 09 16:43:35 XXXXXXX.XXXXX.de systemd[1]: [email protected]: Succeeded.
Dez 09 16:43:35 XXXXXXX.XXXXX.de systemd[1]: Stopped Anonymizing overlay network for TCP.
Dez 09 16:43:35 XXXXXXX.XXXXX.de systemd[1]: Starting Anonymizing overlay network for TCP...
Dez 09 16:43:35 XXXXXXX.XXXXX.de tor[8704]: Dec 09 16:43:35.337 [notice] Tor 0.4.1.6 running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1d
Dez 09 16:43:35 XXXXXXX.XXXXX.de tor[8704]: Dec 09 16:43:35.338 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https:/
Dez 09 16:43:35 XXXXXXX.XXXXX.de tor[8704]: Dec 09 16:43:35.339 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
Dez 09 16:43:35 XXXXXXX.XXXXX.de tor[8704]: Dec 09 16:43:35.339 [notice] Read configuration file "/etc/tor/torrc".
Dez 09 16:43:35 XXXXXXX.XXXXX.de tor[8704]: Configuration was valid
Dez 09 16:43:35 XXXXXXX.XXXXX.de tor[8706]: Dec 09 16:43:35.474 [notice] Tor 0.4.1.6 running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1d
Dez 09 16:43:35 XXXXXXX.XXXXX.de tor[8706]: Dec 09 16:43:35.475 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https:/
Dez 09 16:43:35 XXXXXXX.XXXXX.de tor[8706]: Dec 09 16:43:35.475 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
Dez 09 16:43:35 XXXXXXX.XXXXX.de tor[8706]: Dec 09 16:43:35.475 [notice] Read configuration file "/etc/tor/torrc".
Dez 09 16:43:35 XXXXXXX.XXXXX.de tor[8706]: Dec 09 16:43:35.480 [notice] Opening Socks listener on 127.0.0.1:9050
Dez 09 16:43:35 XXXXXXX.XXXXX.de tor[8706]: Dec 09 16:43:35.481 [notice] Opened Socks listener on 127.0.0.1:9050
Dez 09 16:43:35 XXXXXXX.XXXXX.de Tor[8706]: We compiled with OpenSSL 1010103f: OpenSSL 1.1.1c 28 May 2019 and we are running with OpenSSL 10101
Dez 09 16:43:35 XXXXXXX.XXXXX.de Tor[8706]: Tor 0.4.1.6 running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1d, Zlib 1.2.11, Liblzma 5.2.4,
Dez 09 16:43:35 XXXXXXX.XXXXX.de Tor[8706]: Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/
Dez 09 16:43:35 XXXXXXX.XXXXX.de Tor[8706]: Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
Dez 09 16:43:35 XXXXXXX.XXXXX.de Tor[8706]: Read configuration file "/etc/tor/torrc".
Dez 09 16:43:35 XXXXXXX.XXXXX.de Tor[8706]: Opening Socks listener on 127.0.0.1:9050
Dez 09 16:43:35 XXXXXXX.XXXXX.de Tor[8706]: Opened Socks listener on 127.0.0.1:9050
Dez 09 16:43:35 XXXXXXX.XXXXX.de Tor[8706]: Parsing GEOIP IPv4 file /usr/share/tor/geoip.
Dez 09 16:43:35 XXXXXXX.XXXXX.de Tor[8706]: Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
Dez 09 16:43:35 XXXXXXX.XXXXX.de Tor[8706]: Bootstrapped 0% (starting): Starting
Dez 09 16:43:35 XXXXXXX.XXXXX.de Tor[8706]: Starting with guard context "default"
Dez 09 16:43:35 XXXXXXX.XXXXX.de systemd[1]: Started Anonymizing overlay network for TCP.
Dez 09 16:43:35 XXXXXXX.XXXXX.de Tor[8706]: Signaled readiness to systemd
Dez 09 16:43:36 XXXXXXX.XXXXX.de Tor[8706]: Bootstrapped 5% (conn): Connecting to a relay
Dez 09 16:43:36 XXXXXXX.XXXXX.de Tor[8706]: Opening Socks listener on /run/tor/socks
Dez 09 16:43:36 XXXXXXX.XXXXX.de Tor[8706]: Opened Socks listener on /run/tor/socks
Dez 09 16:43:36 XXXXXXX.XXXXX.de Tor[8706]: Opening Control listener on /run/tor/control
Dez 09 16:43:36 XXXXXXX.XXXXX.de Tor[8706]: Opened Control listener on /run/tor/control
Dez 09 16:43:36 XXXXXXX.XXXXX.de Tor[8706]: Bootstrapped 10% (conn_done): Connected to a relay
Dez 09 16:43:36 XXXXXXX.XXXXX.de Tor[8706]: Bootstrapped 14% (handshake): Handshaking with a relay
Dez 09 16:43:36 XXXXXXX.XXXXX.de Tor[8706]: Bootstrapped 15% (handshake_done): Handshake with a relay done
Dez 09 16:43:36 XXXXXXX.XXXXX.de Tor[8706]: Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits
Dez 09 16:43:36 XXXXXXX.XXXXX.de Tor[8706]: Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits
Dez 09 16:43:36 XXXXXXX.XXXXX.de Tor[8706]: Bootstrapped 95% (circuit_create): Establishing a Tor circuit
Dez 09 16:43:37 XXXXXXX.XXXXX.de Tor[8706]: Bootstrapped 100% (done): Done
답변1
포트를 다음과 같이 변경했습니다.
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:80
HiddenServiceDir /var/lib/tor/hidden_service2/
HiddenServicePort 80 127.0.0.1:80
이제 생성된 양파 도메인을 keyhelp에서 관리하고 사용자에게 추가할 수 있습니다. 나는 여기서 keyhelp가 도메인 할당을 맡는다고 생각합니다.