mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Also allow dns out
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -30,6 +30,12 @@
|
||||
# Allow connection to the database
|
||||
-A OUTPUT --dst 10.5.126.71 -p tcp -m tcp --dport 5432 -j ACCEPT
|
||||
|
||||
# Allow DNS
|
||||
-A OUTPUT --dst 10.5.126.21 -p udp -m udp --dport 53 -j ACCEPT
|
||||
-A OUTPUT --dst 10.5.126.21 -p tcp -m tcp --dport 53 -j ACCEPT
|
||||
-A OUTPUT --dst 10.5.126.22 -p udp -m udp --dport 53 -j ACCEPT
|
||||
-A OUTPUT --dst 10.5.126.22 -p tcp -m tcp --dport 53 -j ACCEPT
|
||||
|
||||
# otherwise kick everything out
|
||||
-A INPUT -j REJECT --reject-with icmp-host-prohibited
|
||||
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
|
||||
|
||||
Reference in New Issue
Block a user