diff --git a/Réseaux/Tor.html b/Réseaux/Tor.html index b29108f..aaf4da0 100644 --- a/Réseaux/Tor.html +++ b/Réseaux/Tor.html @@ -2,7 +2,7 @@ title: Réseau - Tor description: Comprendre et utiliser le réseau Tor published: false -date: 2021-05-12T08:33:50.745Z +date: 2021-05-12T08:38:46.774Z tags: linux, tor, réseau editor: ckeditor dateCreated: 2021-05-11T19:26:41.152Z @@ -160,5 +160,22 @@ ORPort 9001 # man torrc # DirPort 9030 # Notre serveur n'est plus un relai,on commente ExitPolicy reject *:* # ce n’est pas un noeud de sortie, on interdit l'écoute explicitement sur toutes les interfaces

 

-

Le fichier /etc/tor/torrc est très clair et franchement bien fait. Rendons nous dans la partie  intitulée ### This section is just for location-hidden services ### et 

+

Le fichier /etc/tor/torrc est très clair et franchement bien fait. Rendons nous dans la partie  intitulée ### This section is just for location-hidden services ### et faites la ressembler à ça : 

+
############### 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/openssh      # le répertoire de notre HS
+#HiddenServicePort 80 127.0.0.1:80 
+
+#HiddenServiceDir /var/lib/tor/other_hidden_service/
+#HiddenServicePort 80 127.0.0.1:80
+HiddenServicePort 2222 127.0.0.1:22        # Depuis l'extérieur on écoute 2222 et on redirige vers 22 sur localhost
+

 

+