Advertisement
Guest User

Untitled

a guest
May 10th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. # This is the configuration for libtsocks (transparent socks)
  2. # Lines beginning with # and blank lines are ignored
  3. #
  4. # The basic idea is to specify:
  5. # - Local subnets - Networks that can be accessed directly without
  6. # assistance from a socks server
  7. # - Paths - Paths are basically lists of networks and a socks server
  8. # which can be used to reach these networks
  9. # - Default server - A socks server which should be used to access
  10. # networks for which no path is available
  11. # Much more documentation than provided in these comments can be found in
  12. # the man pages, tsocks(8) and tsocks.conf(8)
  13.  
  14. # Local networks
  15. # For this example this machine can directly access 192.168.0.0/255.255.255.0
  16. # (192.168.0.*) and 10.0.0.0/255.0.0.0 (10.*)
  17.  
  18. local = 192.168.0.0/255.255.255.0
  19. local = 10.0.0.0/255.0.0.0
  20.  
  21. # Paths
  22. # For this example this machine needs to access 150.0.0.0/255.255.0.0 as
  23. # well as port 80 on the network 150.1.0.0/255.255.0.0 through
  24. # the socks 5 server at 10.1.7.25 (if this machines hostname was
  25. # "socks.hello.com" we could also specify that, unless --disable-hostnames
  26. # was specified to ./configure).
  27.  
  28. path {
  29. reaches = 150.0.0.0/255.255.0.0
  30. reaches = 150.1.0.0:80/255.255.0.0
  31. server = 10.1.7.25
  32. server_type = 5
  33. default_user = delius
  34. default_pass = hello
  35. }
  36.  
  37. # Default server
  38. # For connections that aren't to the local subnets or to 150.0.0.0/255.255.0.0
  39. # the server at 192.168.0.1 should be used (again, hostnames could be used
  40. # too, see note above)
  41.  
  42. server = 127.0.0.1
  43. # Server type defaults to 4 so we need to specify it as 5 for this one
  44. server_type = 5
  45. # The port defaults to 1080 but I've stated it here for clarity
  46. server_port = 1080
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement