ubuntu系统通过danted搭建socks5协议代理

ubuntu系统通过danted服务搭建socks5代理

  1. 安装dante-server
apt-get install dante-server
  1. 安装成功后,修改配置文件
vim /etc/danted.conf
logoutput: syslog
user.privileged: root
user.unprivileged: nobody

# The listening network interface or address.
internal: 0.0.0.0 port=10808

# The proxying network interface or address.
external: eth0

# socks-rules determine what is proxied through the external interface.
socksmethod: username none

# client-rules determine who can connect to the internal interface.
clientmethod: none

client pass {
    from: 0.0.0.0/0 to: 0.0.0.0/0
}

socks pass {
    from: 0.0.0.0/0 to: 0.0.0.0/0
}
  1. 启动danted服务
systemctl restart danted.service
  1. 查看运行状态
systemctl status danted.service

你可能感兴趣的:(ubuntu,数据库,linux)