diff options
author | Silvino Silva <silvino@bk.ru> | 2020-02-28 02:44:43 +0000 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2020-02-28 02:44:43 +0000 |
commit | a9baa2eedb483d413fbfd2f775d2e8dec3da728c (patch) | |
tree | 0ec03e72e007eb7a7aef95c889357af15defb8cb /core/conf/iptables/ipt-bridge.sh | |
parent | 581bdfbf84c80acfd43c56be09aea759a6d3dccd (diff) | |
download | doc-a9baa2eedb483d413fbfd2f775d2e8dec3da728c.tar.gz |
iptables update
Diffstat (limited to 'core/conf/iptables/ipt-bridge.sh')
-rw-r--r-- | core/conf/iptables/ipt-bridge.sh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/core/conf/iptables/ipt-bridge.sh b/core/conf/iptables/ipt-bridge.sh index 2042f8e..b0f7daa 100644 --- a/core/conf/iptables/ipt-bridge.sh +++ b/core/conf/iptables/ipt-bridge.sh @@ -1,13 +1,6 @@ #!/bin/bash -echo "setting bridge network..." -source /etc/iptables/ipt-conf.sh -source /etc/iptables/ipt-firewall.sh -ipt_clear -ipt_tables # Unlimited on loopback -$IPT -A INPUT -i lo -s 127.0.0.0/8 -d 127.0.0.0/8 -j ACCEPT -$IPT -A OUTPUT -o lo -s 127.0.0.0/8 -d 127.0.0.0/8 -j ACCEPT $IPT -A INPUT -i lo -s ${PUB_IP} -d ${PUB_IP} -j ACCEPT $IPT -A OUTPUT -o lo -s ${PUB_IP} -d ${PUB_IP} -j ACCEPT |