增加备注

This commit is contained in:
zjcqoo 2019-04-29 17:49:31 +08:00
parent b5515add9f
commit 1a5a893933

View File

@ -1,6 +1,7 @@
# run as root # 需要 root 运行
ipset create ngx-ban-dstip hash:net ipset create ngx-ban-dstip hash:net
# 该策略对 jsproxy 用户的所有程序都生效
iptables \ iptables \
-A OUTPUT \ -A OUTPUT \
-p tcp --syn \ -p tcp --syn \
@ -31,3 +32,6 @@ REV_NET=(
for v in ${REV_NET[@]}; do for v in ${REV_NET[@]}; do
ipset add ngx-ban-dstip $v ipset add ngx-ban-dstip $v
done done
# 可屏蔽更多的网段:
# ipset add ngx-ban-dstip xxx