如何解决在 Dante Socks5 Server ubuntu 中允许绑定连接
我在 ubuntu 20.04 上安装并配置了 dante 服务器,并创建了包含以下数据的文件 /etc/danted.conf:
#authentication methods
clientmethod: none
socksmethod: none
##
## SOCKS client access rules
##
#rule processing stops at the first match,no match results in blocking
#allow connections from local network (192.0.2.0/24)
client pass {
from: 192.168.1.0/24 to: 0.0.0.0/0
log: error # connect disconnect
}
##
## SOCKS command rules
##
#rule processing stops at the first match,no match results in blocking
#generic pass statement - bind/outgoing traffic
socks pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
command: bind connect udpassociate
log: error # connect disconnect iooperation
}
#generic pass statement for incoming connections/packets
socks pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
command: bindreply udpreply
log: error # connect disconnect iooperation
}
我不想以 BIND 模式连接,所以当我尝试连接到代理时,答案是这样的:
错误:“规则集不允许连接”
我做错了什么?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。