mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 18:36:53 +08:00
Let's be even more obnoxious
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user