Browse Source

#31320 Add IPv6 examples

Ali Raheem 4 years ago
parent
commit
57c34e80da
2 changed files with 6 additions and 0 deletions
  1. 3 0
      src/config/torrc.minimal.in-staging
  2. 3 0
      src/config/torrc.sample.in

+ 3 - 0
src/config/torrc.minimal.in-staging

@@ -88,6 +88,9 @@
 ## yourself to make this work.
 #ORPort 443 NoListen
 #ORPort 127.0.0.1:9090 NoAdvertise
+## If you want to listen on IPv6 your numeric address must be explictly
+## between square brackets as follows. You must also listen on IPv4.
+#ORPort [2001:DB8::1]:9050
 
 ## The IP address or full DNS name for incoming connections to your
 ## relay. Leave commented out and Tor will guess.

+ 3 - 0
src/config/torrc.sample.in

@@ -88,6 +88,9 @@
 ## yourself to make this work.
 #ORPort 443 NoListen
 #ORPort 127.0.0.1:9090 NoAdvertise
+## If you want to listen on IPv6 your numeric address must be explictly
+## between square brackets as follows. You must also listen on IPv4.
+#ORPort [2001:DB8::1]:9050
 
 ## The IP address or full DNS name for incoming connections to your
 ## relay. Leave commented out and Tor will guess.