๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿง…๋‹คํฌ๋„ท, ๋‹คํฌ์›น

๋‹คํฌ๋„ท - Tor๋กœ ๋‹คํฌ์›น ์„œ๋ฒ„ ํ˜ธ์ŠคํŒ…ํ•˜๊ธฐ

by Janger 2023. 2. 2.
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
๋ฐ˜์‘ํ˜•