puppet: Accept traffic on port 5432 (postgresql)

(imported from commit bf30d0af2377209f3d5c10add3a526a1fee28dd8)
This commit is contained in:
Zev Benjamin 2012-12-12 17:02:05 -05:00
parent 4d2899b5f8
commit dc6d48611d
1 changed files with 5 additions and 4 deletions

View File

@ -17,10 +17,11 @@
# Accept incoming traffic related to established connections
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
# Accept incoming traffic on TCP ports 22 (SSH), 80 (HTTP), and 443 (HTTPS)
-A INPUT -p tcp --dport 22 -j ACCEPT
-A INPUT -p tcp --dport 80 -j ACCEPT
-A INPUT -p tcp --dport 443 -j ACCEPT
# Accept incoming traffic on TCP ports 22 (SSH), 80 (HTTP), 443 (HTTPS), and 5432 (Postgres)
-A INPUT -p tcp --dport 22 -j ACCEPT
-A INPUT -p tcp --dport 80 -j ACCEPT
-A INPUT -p tcp --dport 443 -j ACCEPT
-A INPUT -p tcp --dport 5432 -j ACCEPT
# Drop everything else
-A INPUT -j LOGDROP