Advertisement
Guest User

Untitled

a guest
Oct 30th, 2014
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. # $Id: sockd.conf,v 1.43 2005/12/26 16:35:26 michaels Exp $
  2. logoutput: stderr
  3. #logoutput: syslog
  4.  
  5. #internal eth0 port = 40000
  6. internal: venet0:0 port = 40000
  7. internal: 127.0.0.1 port = 40000
  8.  
  9. #external: 99.99.99.99
  10. #external: 192.168.1.1
  11. #external: eth0
  12. external: venet0:0
  13.  
  14. #method: username none #rfc931
  15. method: none username
  16.  
  17. user.notprivileged: nobody
  18. user.libwrap: nobody
  19.  
  20. ##Client Rules
  21. client pass {
  22. from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0
  23. }
  24. client pass {
  25. from: 127.0.0.0/8 port 1-65535 to: 0.0.0.0/0
  26. }
  27.  
  28. ##SOCKS Rules
  29. pass{
  30. from: 76.28.114.212/20 to: 0.0.0.0/0
  31. protocol: tcp udp
  32. }
  33.  
  34. pass {
  35. from: 75.0.0.0/8 to: 0.0.0.0/0
  36. protocol: tcp udp
  37. method: username
  38. user: dante me
  39. }
  40. pass {
  41. from: 127.0.0.0/8 to: 0.0.0.0/0
  42. protocol: tcp udp
  43. }
  44. block {
  45. from: 0.0.0.0/0 to: 0.0.0.0/0
  46. log: connect error
  47. }
  48. #Finally block other traffic
  49. block {
  50. from: 0.0.0.0/0 to: 127.0.0.0/8
  51. log: connect error
  52. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement