Login Register






The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.
Thread Rating:
  • 0 Vote(s) - 0 Average


[TUTORIAL] Setting up a Tor hidden service filter_list
Author
Message
[TUTORIAL] Setting up a Tor hidden service #1
Hello. In this tutorial I will quickly explain how to setup a tor hidden service (On Linux). Your going to need:
tor, a daemon that you want to have as the service (ie. apache).

First of all goto /etc/tor/ and edit torrc as root. Find the line like the one below and make sure it isnt commented out:

62 ############### This section is just for location-hidden services ###
63
64 ## Once you have configured a hidden service, you can look at the
65 ## contents of the file ".../hidden_service/hostname" for the address
66 ## to tell people.
67 ##
68 ## HiddenServicePort x y:z says to redirect requests on port x to the
69 ## address y:z.
70
71 HiddenServiceDir /home/YOUR USERNAME/
72 HiddenServicePort 6667 127.0.0.1:6667
73
74 #HiddenServiceDir /home/YOUR USERNAME/
75 #HiddenServicePort 80 127.0.0.1:80
76 #HiddenServicePort 6667 127.0.0.1:6667

As you can see Ive configured port 6667, if you want a web server you obviously are going to want port 80 and if you want to setup an ssh daemon they use 22 (although its probably better not to use the default ssh port ever, in fact choose a port that nmap wont normally scan).

Ok. Now start up tor in the terminal with the command `tor`. And surf to your /home/YOUR USERNAME/ and find the file named hostname. Cat it and you will find the standard tor hostname that you can connect to.

So now Its time to see if it worked.

Terminal one:
maus@honeypot~$ nc -l -p 6667
Hello!


Terminal two:
maus@honeypot~$ cat hostname
vgrzwqvpishpujdw.onion
maus@honeypot~$ usewithtor nc vgrzwqvpishpujdw.onion 6667
Hello!


Mhm, thats it.

Reply





Messages In This Thread
[TUTORIAL] Setting up a Tor hidden service - by superMAUS - 06-18-2014, 10:50 PM



Users browsing this thread: 2 Guest(s)