fixing typo in firewall rules

This commit is contained in:
toby 2019-03-13 01:32:01 +00:00
parent 73b2389f08
commit 9fa840a956
1 changed files with 5 additions and 5 deletions

View File

@ -141,11 +141,11 @@ case $1 in
## some rules for bastion boxes to protect the mgmt networks
ip6tables -F FORWARD
ip6tables -A FORWARD -o mgmtgw1 -m state --state ESTABLISHED,RELATED -j ACCEPT -j ACCEPT -m comment --comment "only for bastion hosts"
ip6tables -A FORWARD -o mgmtgw1 -j DROP -j ACCEPT -m comment --comment "only for bastion hosts"
ip6tables -A FORWARD -o ipmigw1 -j DROP -j ACCEPT -m comment --comment "only for bastion hosts"
ip6tables -A FORWARD -i ipmigw1 -m state --state ESTABLISHED,RELATED -j ACCEPT -j ACCEPT -m comment --comment "only for bastion hosts"
ip6tables -A FORWARD -i ipmigw1 -j DROP -j ACCEPT -m comment --comment "only for bastion hosts"
ip6tables -A FORWARD -o mgmtgw1 -m state --state ESTABLISHED,RELATED -j ACCEPT -m comment --comment "only for bastion hosts"
ip6tables -A FORWARD -o mgmtgw1 -j DROP -m comment --comment "only for bastion hosts"
ip6tables -A FORWARD -o ipmigw1 -j DROP -m comment --comment "only for bastion hosts"
ip6tables -A FORWARD -i ipmigw1 -m state --state ESTABLISHED,RELATED -j ACCEPT -m comment --comment "only for bastion hosts"
ip6tables -A FORWARD -i ipmigw1 -j DROP -m comment --comment "only for bastion hosts"
#special tables