[tor-commits] [tor/master] #31320 Add IPv6 examples

nickm at torproject.org nickm at torproject.org
Tue Aug 6 17:13:47 UTC 2019


commit 57c34e80dabe45d9a396a67662c38820453a3c52
Author: Ali Raheem <github at hadoken.cc>
Date:   Mon Aug 5 19:24:42 2019 +0100

    #31320 Add IPv6 examples
---
 src/config/torrc.minimal.in-staging | 3 +++
 src/config/torrc.sample.in          | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/src/config/torrc.minimal.in-staging b/src/config/torrc.minimal.in-staging
index cb3adca35..90bad7f7c 100644
--- a/src/config/torrc.minimal.in-staging
+++ b/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.
diff --git a/src/config/torrc.sample.in b/src/config/torrc.sample.in
index 9d514e6bd..51e1c3af4 100644
--- a/src/config/torrc.sample.in
+++ b/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.





More information about the tor-commits mailing list