about summary refs log tree commit diff stats
path: root/core/conf/iptables/ipt-client.sh
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2020-05-04 21:07:47 +0100
committerSilvino Silva <silvino@bk.ru>2020-05-04 21:58:37 +0100
commit0fa51abcc7f6e1ba62ee579f0e09d07922f0ea6b (patch)
tree4014a3c0cbb061f91d990197e551bfb4a8cca28f /core/conf/iptables/ipt-client.sh
parent7092b1497b6eccbfa39391486d574ce6ab903ece (diff)
downloaddoc-0fa51abcc7f6e1ba62ee579f0e09d07922f0ea6b.tar.gz
fix iptable scripts added more ip's
Diffstat (limited to 'core/conf/iptables/ipt-client.sh')
-rw-r--r--core/conf/iptables/ipt-client.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/conf/iptables/ipt-client.sh b/core/conf/iptables/ipt-client.sh
index f832c51..3e82bf7 100644
--- a/core/conf/iptables/ipt-client.sh
+++ b/core/conf/iptables/ipt-client.sh
@@ -23,6 +23,7 @@ echo "setting client network..."
 
 ####### Input Chain ######
 $IPT -A INPUT -j blocker
+$IPT -A INPUT -j blockip_in
 
 $IPT -A INPUT -i ${PUB_IF} -j cli_dns_in
 $IPT -A INPUT -i ${PUB_IF} -j cli_http_in
@@ -40,6 +41,7 @@ $IPT -A INPUT -i ${PUB_IF} -p udp --sport 520 --dport 520 -j ACCEPT
 
 ####### Output Chain ######
 $IPT -A OUTPUT -j blocker
+$IPT -A OUTPUT -j blockip_out
 
 $IPT -A OUTPUT -o ${PUB_IF} -j cli_dns_out
 $IPT -A OUTPUT -o ${PUB_IF} -j cli_https_out