You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some private IP addresses are used to bypass local area networks, while other multicast addresses can indeed be removed. This is probably caused by a lack of filtering during the submission of previous rules.
规则列表内包含了大量的非公网地址,包括ABC类私有地址、广播地址、组播地址,规则使用后有时候会干扰防火墙的网络正常运行,虽然我自己的自动化脚本可以清理这些内容,不过我还是想询问以下规则保留这些地址是否有什么重要作用吗,如果没有什么作用,是否可以清理规则中的无效地址?
匹配出非公网的IPv4地址的内容如下
批量清理规则可以用
sed -i '/(^10|^172.(1[6-9]|2[0-9]|3[01])|^192.168|^169.254|^22[4-9]|^2[3-5][0-9])./d' *.rules
The text was updated successfully, but these errors were encountered: