Skip to content

如何使用正则表达式在直连规则中添加内网IP? #2558

Answered by SZODC
li-zheng-hao asked this question in Q&A
Discussion options

You must be logged in to vote

172.10不属于内网IP, 所有并不包含在geoip:private里面。172网段只有172.16属于内网IP. geoip:private的包括范围可以参考 https://github.com/Loyalsoldier/geoip/blob/master/plugin/special/private.go.

你只要在上面IP设置那里设置整个网段,例如172.10.0.0/16, 就包括整个网段的IP不需要以后再次设置了。

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@li-zheng-hao
Comment options

Answer selected by li-zheng-hao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants