0

我正在尝试让多个主机使用to: example.com foo.com多个主机。现在它无法重新启动,并且只允许一台主机。我到处搜索文档如何做到这一点,但找不到任何东西。

https://www.inet.no/dante/doc/latest/config/client.html

##
## SOCKS command rules
##
#rule processing stops at the first match, no match results in blocking

#block communication with www.example.org
# block {
#        from: 0.0.0.0/0 to: www.example.org
#        command: bind connect udpassociate
#        log: error # connect disconnect iooperation
# }
4

1 回答 1

2

当前 1.4.x 版本的 Dante 不支持此功能,因此您需要为每个唯一的“to:”或“from:”地址设置一个规则。

socks pass { from: 0/0 to: example.com } socks pass { from: 0/0 to: foo.com }

Dante 1.5.0 将支持一条规则中的多个 to/from-address。

于 2019-11-22T15:32:11.007 回答