Advertisement
barbos777

Doors - torsocks.conf

Feb 22nd, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. # This is the configuration for libtorsocks (transparent socks) for use
  2. # with tor, which is providing a socks server on port 9050 by default.
  3. #
  4. # Lines beginning with # and blank lines are ignored
  5. #
  6. # The basic idea is to specify:
  7. # - Local subnets - Networks that can be accessed directly without
  8. # assistance from a socks server
  9. # - Paths - Paths are basically lists of networks and a socks server
  10. # which can be used to reach these networks
  11. # - Default server - A socks server which should be used to access
  12. # networks for which no path is available
  13. # Much more documentation than provided in these comments can be found in
  14. # torsocks.conf(5) and usewithtor(1) manpages.
  15.  
  16. # We specify local as 127.0.0.0 - 127.191.255.255 because the
  17. # Tor MAPADDRESS virtual IP range is the rest of net 127.
  18. # Torsocks also treats as local all the subnets that Tor does.
  19. local = 127.0.0.0/255.128.0.0
  20. local = 127.128.0.0/255.192.0.0
  21. local = 169.254.0.0/255.255.0.0
  22. local = 172.16.0.0/255.240.0.0
  23. local = 192.168.0.0/255.255.0.0
  24.  
  25. # Default server
  26. # For connections that aren't to the local subnets
  27. # the server at 127.0.0.1 should be used (again, hostnames could be used
  28. # too, see note above)
  29. server = 127.0.0.1
  30.  
  31. # SOCKS server type defaults to 4
  32. server_type = 5
  33.  
  34. # The port defaults to 1080 but I've stated it here for clarity
  35. server_port = 9050
  36.  
  37. # Username and password (if required on a SOCKSv5 server)
  38. #default_user =
  39. #default_pass =
  40.  
  41. # Paths
  42. # For this example this machine needs to access 150.0.0.0/255.255.0.0 as
  43. # well as port 80 on the network 150.1.0.0/255.255.0.0 through
  44. # the socks 5 server at 10.1.7.25 (if this machines hostname was
  45. # "socks.hello.com" we could also specify that, unless --disable-hostnames
  46. # was specified to ./configure).
  47.  
  48. #path {
  49. # reaches = 150.0.0.0/255.255.0.0
  50. # reaches = 150.1.0.0:80/255.255.0.0
  51. # server = 10.1.7.25
  52. # server_type = 5
  53. # default_user = delius
  54. # default_pass = hello
  55. #}
  56. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement