diff --git a/files/osbs/fix-docker-iptables.production b/files/osbs/fix-docker-iptables.production index a30f414271..7d5fc56bd5 100644 --- a/files/osbs/fix-docker-iptables.production +++ b/files/osbs/fix-docker-iptables.production @@ -17,6 +17,8 @@ fi if [ "`iptables -nL | grep 'FILTER_FORWARD all'`" == "" ]; then iptables -I FORWARD 1 -j FILTER_FORWARD + iptables -I FORWARD 2 -j REJECT + iptables -I DOCKER-ISOLATION 1 -j FILTER_FORWARD fi # Delete all old rules diff --git a/files/osbs/fix-docker-iptables.staging b/files/osbs/fix-docker-iptables.staging index 7b4b6aee22..75675631e0 100644 --- a/files/osbs/fix-docker-iptables.staging +++ b/files/osbs/fix-docker-iptables.staging @@ -17,6 +17,8 @@ fi if [ "`iptables -nL | grep 'FILTER_FORWARD all'`" == "" ]; then iptables -I FORWARD 1 -j FILTER_FORWARD + iptables -I FORWARD 2 -j REJECT + iptables -I DOCKER-ISOLATION 1 -j FILTER_FORWARD fi # Delete all old rules