aboutsummaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorAli Raheem <github@hadoken.cc>2019-08-05 19:24:42 +0100
committerAli Raheem <github@hadoken.cc>2019-08-05 19:24:42 +0100
commit57c34e80dabe45d9a396a67662c38820453a3c52 (patch)
tree4a6d016db72da71923d7dc46a6f15cc88e225344 /src/config
parent82488121882040f6831be554a21629c1428f8031 (diff)
downloadtor-57c34e80dabe45d9a396a67662c38820453a3c52.tar.gz
tor-57c34e80dabe45d9a396a67662c38820453a3c52.zip
#31320 Add IPv6 examples
Diffstat (limited to 'src/config')
-rw-r--r--src/config/torrc.minimal.in-staging3
-rw-r--r--src/config/torrc.sample.in3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/config/torrc.minimal.in-staging b/src/config/torrc.minimal.in-staging
index cb3adca35c..90bad7f7cc 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 9d514e6bda..51e1c3af4b 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.