【问题标题】:Multiple `to: ` in Dante socks proxyDante socks 代理中的多个 `to:`
【发布时间】:2019-10-14 23:29:26
【问题描述】:

我正在尝试让多个主机使用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
# }

【问题讨论】:

    标签: ubuntu proxy socks dante


    【解决方案1】:

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

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-04-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多