Advertisement
Guest User

Untitled

a guest
Apr 14th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. #Write log
  2. logoutput: stderr
  3.  
  4. internal: eth0 port = 8080
  5. external: eth0
  6.  
  7. #In case of multiple outbound IPs
  8. #external.rotation: same-same
  9.  
  10. #UNCOMMENT ONE OF AUTH BLOCKS
  11.  
  12. #No authentication
  13. #clientmethod: none
  14. #socksmethod: none
  15.  
  16. #Use basic authentication, uses data from system passwd/shadow
  17. #NB: Block this user from SSH daemon since password is transferred plain-text!
  18. #To add user: adduser --home /dev/null --shell /bin/false user1
  19. #clientmethod: username
  20. socksmethod: username
  21. user.privileged: root
  22. user.unprivileged: nobody
  23. user.libwrap: nobody
  24.  
  25. #Allow clients from any IPs
  26. client pass {
  27. from: 0.0.0.0/0 to: 0.0.0.0/0
  28. log: error
  29. }
  30.  
  31. #Only allow telegram subnets (IANA data)
  32. socks pass { from: 0.0.0.0/0 to: 91.108.12.0/22 }
  33. socks pass { from: 0.0.0.0/0 to: 91.108.16.0/22 }
  34. socks pass { from: 0.0.0.0/0 to: 91.108.20.0/22 }
  35. socks pass { from: 0.0.0.0/0 to: 91.108.36.0/23 }
  36. socks pass { from: 0.0.0.0/0 to: 91.108.38.0/23 }
  37. socks pass { from: 0.0.0.0/0 to: 91.108.4.0/22 }
  38. socks pass { from: 0.0.0.0/0 to: 91.108.56.0/22 }
  39. socks pass { from: 0.0.0.0/0 to: 91.108.56.0/23 }
  40. socks pass { from: 0.0.0.0/0 to: 91.108.8.0/22 }
  41. socks pass { from: 0.0.0.0/0 to: 149.154.160.0/20 }
  42. socks pass { from: 0.0.0.0/0 to: 149.154.164.0/22 }
  43. socks pass { from: 0.0.0.0/0 to: 149.154.168.0/22 }
  44. socks pass { from: 0.0.0.0/0 to: 149.154.172.0/22 }
  45. socks pass { from: ::/0 to: 2001:67c:4e8::/48 }
  46. socks pass { from: ::/0 to: 2001:b28:f23c::/48 }
  47. socks pass { from: ::/0 to: 2001:b28:f23d::/48 }
  48. socks pass { from: ::/0 to: 2001:b28:f23f::/48 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement