728x90
๋ฐ์ํ
tor ์ค์น
apt-get update
apt-get install tor
/etc/tor/torrc ํ์ผ ์์
sudo vim /etc/tor/torrc
############### This section is just for location-hidden services ###
## Once you have configured a hidden service, you can look at the
## contents of the file ".../hidden_service/hostname" for the address
## to tell people.
##
## HiddenServicePort x y:z says to redirect requests on port x to the
## address y:z.
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:80
#HiddenServiceDir /var/lib/tor/other_hidden_service/
#HiddenServicePort 80 127.0.0.1:80
#HiddenServicePort 22 127.0.0.1:22
HiddenServiceDir, HiddenServicePort์ ์ฃผ์์ ํด์
tor ์๋น์ค ์ฌ์์
sudo service tor restart
๋ด ์ด๋์ธ ์ฃผ์ ํ์ธ
sudo cat /var/lib/tor/hidden_service/hostname
์ถ๋ ฅ์ ํ๋ฉด hq6zcsomi5cmondk.onion ๊ฐ์ ๊ณ ์ ์ฃผ์๊ฐ ๋์ค๊ฒ ๋๋ค.
ํ์ธ์ ์ํ ๊ฐ๋จํ ์น ์๋ฒ ์คํ
sudo python3 -m http.server 80
ํ์ด์ฌ์ ์๋ฒ ํธ์คํธ ๋ชจ๋์ ์คํ
๋ด ์ด๋์ธ ์ฌ์ดํธ ์ ์ํ๊ธฐ
torbrowser-launcher &
tor ๋ธ๋ผ์ฐ์ ๋ฅผ ์คํ ์ดํ์ hostname์์ ์ถ๋ ฅํ ๋ด ์ด๋์ธ ์ฃผ์๋ก ๋ค์ด๊ฐ ์์ ์ ์ด๋์ธ ์ฌ์ดํธ๊ฐ ์ ์ ์๋๋์ง ํ์ธ.
์ถ์ฒ ๋ฐ ์ฐธ๊ณ :
https://medium.com/axon-technologies/hosting-anonymous-website-on-tor-network-3a82394d7a01
Hosting Anonymous Website on Tor Network
Introduction: Clearnet vs. Darknet
medium.com
https://www.youtube.com/watch?v=GVMjk9pj2Cw
728x90
๋ฐ์ํ
'๐ง ๋คํฌ๋ท, ๋คํฌ์น' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
๋คํฌ๋ท - ์๋์ฐ์์ Tor๋ก ํ๋ ์๋น์ค ์์ฑํ๊ธฐ (0) | 2023.04.19 |
---|---|
๋คํฌ๋ท - Tor2Web (0) | 2023.02.06 |
๋คํฌ๋ท - Tor ๋ธ๋ผ์ฐ์ ํด์๋(Letterboxing) ์๋ ์กฐ์ ๋นํ์ฑํ (0) | 2022.09.14 |
๋คํฌ๋ท - ์ํธํํ ๊ฒฐ์ ์ต๋ช VPS ๋ชจ์ (0) | 2022.09.04 |
๋คํฌ๋ท - .onion ์น ์ฃผ์ ๊ฒ์ ์์ง๋ค (0) | 2022.09.03 |