summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-06-05 16:14:51 -0400
committerNick Mathewson <nickm@torproject.org>2019-06-05 16:14:51 -0400
commit04cb2d4010f131c970d0cf3ba56c9d752b8facb9 (patch)
treeec91efa7e7ab5be7f018f2253172f3c1a3888f89 /src/config
parent2300a619a548ed529551c731dd706fea0b2a0a20 (diff)
parent9b7cdd23deb5830cce794ce6e901b82fa094dd9f (diff)
downloadtor-04cb2d4010f131c970d0cf3ba56c9d752b8facb9.tar.gz
tor-04cb2d4010f131c970d0cf3ba56c9d752b8facb9.zip
Merge remote-tracking branch 'tor-github/pr/741' into maint-0.4.0
Diffstat (limited to 'src/config')
-rw-r--r--src/config/torrc.sample.in21
1 files changed, 16 insertions, 5 deletions
diff --git a/src/config/torrc.sample.in b/src/config/torrc.sample.in
index 8d56b0896b..c2ae707e93 100644
--- a/src/config/torrc.sample.in
+++ b/src/config/torrc.sample.in
@@ -1,5 +1,5 @@
## Configuration file for a typical Tor user
-## Last updated 22 December 2017 for Tor 0.3.2.8-rc.
+## Last updated 28 February 2019 for Tor 0.3.5.1-alpha.
## (may or may not work for much older or much newer versions of Tor.)
##
## Lines that begin with "## " try to explain what's going on. Lines
@@ -172,14 +172,25 @@
## Note: do not use MyFamily on bridge relays.
#MyFamily $keyid,$keyid,...
-## Uncomment this if you do *not* want your relay to allow any exit traffic.
-## (Relays allow exit traffic by default.)
-#ExitRelay 0
+## Uncomment this if you want your relay to be an exit, with the default
+## exit policy (or whatever exit policy you set below).
+## (If ReducedExitPolicy or ExitPolicy are set, relays are exits.
+## If neither exit policy option is set, relays are non-exits.)
+#ExitRelay 1
## Uncomment this if you want your relay to allow IPv6 exit traffic.
-## (Relays only allow IPv4 exit traffic by default.)
+## You must also set ExitRelay, ReducedExitPolicy, or ExitPolicy to make your
+## relay into an exit.
+## (Relays do not allow any exit traffic by default.)
#IPv6Exit 1
+## Uncomment this if you want your relay to be an exit, with a reduced set
+## of exit ports.
+#ReducedExitPolicy 1
+
+## Uncomment these lines if you want your relay to be an exit, with the
+## specified set of exit IPs and ports.
+##
## A comma-separated list of exit policies. They're considered first
## to last, and the first match wins.
##