dante socks5代理 多IP出口

  1. wget https://www.inet.no/dante/files/dante-1.3.2.tar.gz
  2. ./configure && make && make install
  3. /usr/local/sbin/sockd -f /your_path/danted.conf -D
  4.  
  5. #danted.conf
  6.  
  7. internal: $IP port = $port
  8. external: $IP
  9. external.rotation: same-same
  10. #method: username none #anonymous
  11. method: username #username and password with OS
  12. user.privileged: root
  13. user.notprivileged : nobody
  14. logoutput: /var/log/danted.log
  15. client pass {
  16. from: 0.0.0.0/0 to: 0.0.0.0/0
  17. log: connect disconnect
  18. }
  19. pass {
  20. from: 0.0.0.0/0 to: 0.0.0.0/0 port gt 1023
  21. command: bind
  22. log: connect disconnect
  23. }
  24. pass {
  25. from: 0.0.0.0/0 to: 0.0.0.0/0
  26. command: connect udpassociate
  27. log: connect disconnect
  28. }
  29. block {
  30. from: 0.0.0.0/0 to: 0.0.0.0/0
  31. log: connect error
  32. }

centos安装dante socks5代理软件

centos安装dante为socks5代理

  1. wget -c ftp://ftp.inet.no/pub/socks/dante-1.2.0.tar.gz
  2. tar zxvf dante-1.2.0.tar.gz   
  3. cd dante-1.2.0
  4. ./configure
  5. make
  6. make install
  7. useradd sockd
  8. passwd sockd #修改sockd的密码
  9. 修改 /etc/passwdsockdbash改为false
  10. mkdir /var/log/sockd
  11. touch /var/log/sockd/sockd.log
  12. sockd & #启动sockd代理
1 1