User Tools

Site Tools


en:hidden_services_configuration_topics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:hidden_services_configuration_topics [2018/02/25 16:34]
egypcio
en:hidden_services_configuration_topics [2018/02/25 16:55]
egypcio
Line 40: Line 40:
  
 ==== Onion Service Configuration ==== ==== Onion Service Configuration ====
 +
 +A very simple configuration template for an Onion Service follows (that goes to your __torrc__ file):
 +
 + HiddenServiceDir /​path/​to/​host/​key/​and/​hostname/​
 + HiddenServicePort <​PORT>​ <​MACHINE_IP_ADDR>:<​SERVICE_PORT>​
  
 Below you can choose between a specific operating system to implement your Onion Service, or just look at the generic configuration for setting up your own. Below you can choose between a specific operating system to implement your Onion Service, or just look at the generic configuration for setting up your own.
Line 57: Line 62:
 ---- ----
  
-A very simple configuration template for an Onion Service follows (that goes to your __torrc__ file): 
- 
- HiddenServiceDir /​path/​to/​host/​key/​and/​hostname/​ 
- HiddenServicePort <​PORT>​ <​MACHINE_IP_ADDR>:<​SERVICE_PORT>​ 
- 
-If you want to run an Onion Service in order to access a remote machine over SSH (considering default ports), then you can use this configurations (paying attention to the __HiddenServiceDir__): ​ 
- 
- HiddenServiceDir /​var/​db/​tor_onion_ssh/​ 
- HiddenServicePort 22 127.0.0.1:​22 
- 
-You can mix ports, remote IP addresses too (so you will share __the same__ **.onion** address): 
- 
- HiddenServiceDir /​var/​db/​tor_onion_multi/​ 
- HiddenServicePort 6667 10.55.85.9:​6667 
- HiddenServicePort 80 172.26.80.1:​80 
- HiddenServicePort 81 172.26.80.11:​80 
- HiddenServicePort 82 172.26.80.12:​80 
- HiddenServicePort 83 172.26.80.13:​80 
- HiddenServicePort 22 127.0.0.1:​22 
- 
-Using UNIX Sockets is also possible! :-) 
- 
- HiddenServiceDir /​var/​db/​tor_onion_web/​ 
- HiddenServicePort 80 unix:/​caminho/​do/​socket 
  
  --- //Based on  [[https://​riseup.net/​en/​security/​network-security/​tor/​onionservices-best-practices|Onion Services Best Practices]]//​  --- //Based on  [[https://​riseup.net/​en/​security/​network-security/​tor/​onionservices-best-practices|Onion Services Best Practices]]//​
en/hidden_services_configuration_topics.txt ยท Last modified: 2018/02/25 16:55 by egypcio