Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 在Dante Socks5服务器ubuntu中允许绑定连接_Linux_Ubuntu_Socks_Dante - Fatal编程技术网

Linux 在Dante Socks5服务器ubuntu中允许绑定连接

Linux 在Dante Socks5服务器ubuntu中允许绑定连接,linux,ubuntu,socks,dante,Linux,Ubuntu,Socks,Dante,我在ubuntu 20.04上安装并配置了dante server,并创建了文件/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 connec

我在ubuntu 20.04上安装并配置了dante server,并创建了文件/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
}
我不想在模式绑定中连接,因此当我尝试连接到代理时,会回答以下问题:

错误:“规则集不允许连接”

我做错了什么