about summary refs log tree commit diff stats
path: root/core/conf/iptables/ipt-server.sh
diff options
context:
space:
mode:
Diffstat (limited to 'core/conf/iptables/ipt-server.sh')
-rw-r--r--core/conf/iptables/ipt-server.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/conf/iptables/ipt-server.sh b/core/conf/iptables/ipt-server.sh
index d09d1f4..a44568a 100644
--- a/core/conf/iptables/ipt-server.sh
+++ b/core/conf/iptables/ipt-server.sh
@@ -2,6 +2,7 @@ echo "setting server iptables ..."
 
 ####### Input Chain ######
 $IPT -A INPUT -j blocker
+$IPT -A INPUT -j blockip_in
 
 $IPT -A INPUT -i ${PUB_IF} -s ${BR_NET} -p udp --dport 520 -j DROP
 
@@ -25,6 +26,7 @@ $IPT -A INPUT -i ${PUB_IF} -d ${PUB_IP} -j srv_git_in
 
 ####### Output Chain ######
 $IPT -A OUTPUT -j blocker
+$IPT -A OUTPUT -j blockip_out
 
 $IPT -A OUTPUT -o ${PUB_IF} -d ${DNS} -s ${PUB_IP} -j cli_dns_out
 $IPT -A OUTPUT -o ${PUB_IF} -d ${BR_NET} -s ${PUB_IP} -j cli_http_out