mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
move default exit policy into config files
svn:r654
This commit is contained in:
parent
c6b442a346
commit
c35fc271d2
@ -10,3 +10,5 @@ OnionRouter 1
|
|||||||
# List of routers
|
# List of routers
|
||||||
RouterFile ../config/dirservers
|
RouterFile ../config/dirservers
|
||||||
|
|
||||||
|
ExitPolicy reject 127.0.0.1:*,reject 18.244.0.188:25,accept *:*
|
||||||
|
|
||||||
|
@ -10,3 +10,5 @@ OnionRouter 1
|
|||||||
# List of routers
|
# List of routers
|
||||||
RouterFile ../config/dirservers
|
RouterFile ../config/dirservers
|
||||||
|
|
||||||
|
ExitPolicy reject 127.0.0.1:*,reject 18.244.0.188:25,accept *:*
|
||||||
|
|
||||||
|
@ -10,3 +10,5 @@ OnionRouter 1
|
|||||||
# List of routers
|
# List of routers
|
||||||
RouterFile ../config/dirservers
|
RouterFile ../config/dirservers
|
||||||
|
|
||||||
|
ExitPolicy reject 127.0.0.1:*,reject 18.244.0.188:25,accept *:*
|
||||||
|
|
||||||
|
@ -3,20 +3,24 @@
|
|||||||
# The directory for keeping all the config/data for this node
|
# The directory for keeping all the config/data for this node
|
||||||
DataDirectory @LOCALSTATEDIR@/lib/tor
|
DataDirectory @LOCALSTATEDIR@/lib/tor
|
||||||
# A unique handle for this node
|
# A unique handle for this node
|
||||||
Nickname moria4
|
Nickname moria
|
||||||
# The fqdn for this node
|
# The fqdn for this node
|
||||||
Address moria.seul.org
|
Address moria.seul.org
|
||||||
|
|
||||||
# Ports for various services. Comment out or set to 0 if you're not
|
# Ports for various services. Comment out or set to 0 if you're not
|
||||||
# offering that service.
|
# offering that service.
|
||||||
ORPort 9004 # listening for cell-speaking connections
|
ORPort 9001 # listening for cell-speaking connections
|
||||||
SocksPort 9024 # listening for socks-speaking connections
|
SocksPort 9050 # listening for socks-speaking connections
|
||||||
#DirPort 0
|
#DirPort 0
|
||||||
|
|
||||||
# Leave this set, or we'll be treated like a client.
|
|
||||||
OnionRouter 1
|
|
||||||
|
|
||||||
# List of routers. Tor nodes start out knowing about the directory
|
# List of routers. Tor nodes start out knowing about the directory
|
||||||
# servers, and from them they get a list of currently up nodes.
|
# servers, and from them they get a list of currently up nodes.
|
||||||
RouterFile @CONFDIR@/dirservers
|
RouterFile @CONFDIR@/dirservers
|
||||||
|
|
||||||
|
# A comma-separated list of exit policies. They're considered in
|
||||||
|
# order, first match wins.
|
||||||
|
ExitPolicy reject 127.0.0.1:*,reject 18.244.0.188:25,accept *:*
|
||||||
|
|
||||||
|
# Leave this set, or we'll be treated like a client.
|
||||||
|
OnionRouter 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user