Also allow dns out
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
cc859650e0
commit
f94a5f94cd
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue