๐ง
๋คํฌ๋ท, ๋คํฌ์น
๋คํฌ๋ท - Tor๋ก ๋คํฌ์น ์๋ฒ ํธ์คํ ํ๊ธฐ
Janger
2023. 2. 2. 02:32
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