sample-server-torrc.in 847 B

1234567891011121314151617181920212223242526
  1. # Configuration file for a typical tor node
  2. # The directory for keeping all the config/data for this node
  3. DataDirectory @LOCALSTATEDIR@/lib/tor
  4. # A unique handle for this node
  5. Nickname moria
  6. # The fqdn for this node
  7. Address moria.seul.org
  8. # Ports for various services. Comment out or set to 0 if you're not
  9. # offering that service.
  10. ORPort 9001 # listening for cell-speaking connections
  11. SocksPort 9050 # listening for socks-speaking connections
  12. #DirPort 0
  13. # List of routers. Tor nodes start out knowing about the directory
  14. # servers, and from them they get a list of currently up nodes.
  15. RouterFile @CONFDIR@/dirservers
  16. # A comma-separated list of exit policies. They're considered in
  17. # order, first match wins.
  18. ExitPolicy reject 127.0.0.1:*,reject 18.244.0.188:25,accept *:*
  19. # Leave this set, or we'll be treated like a client.
  20. OnionRouter 1