Dante socks 代理中的多个 `to: `
Multiple `to: ` in Dante socks proxy
我正在尝试让多个主机使用 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
# }
当前 1.4.x 版本的 Dante 不支持此功能,因此您需要为每个唯一的 "to:" 或 "from:" 地址制定一条规则。
袜子传递 { 从:0/0 到:example.com}
袜子传递 { 从: 0/0 到: foo.com }
Dante 1.5.0 将支持一条规则中的多个 to/from-addresses。
我正在尝试让多个主机使用 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
# }
当前 1.4.x 版本的 Dante 不支持此功能,因此您需要为每个唯一的 "to:" 或 "from:" 地址制定一条规则。
袜子传递 { 从:0/0 到:example.com} 袜子传递 { 从: 0/0 到: foo.com }
Dante 1.5.0 将支持一条规则中的多个 to/from-addresses。