From 60cfd3cfb032e58acdf8ce6c49da8408e716b64c Mon Sep 17 00:00:00 2001 From: Luke Faraone Date: Thu, 6 Feb 2014 11:56:30 -0500 Subject: [PATCH] Accept SMTP connections on hosts. (imported from commit 524ae3f4362ffea12ff96498ae554322f7fe8a3c) --- puppet/zulip_internal/files/iptables/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/puppet/zulip_internal/files/iptables/rules b/puppet/zulip_internal/files/iptables/rules index 49d22e85c1..235ad1787b 100644 --- a/puppet/zulip_internal/files/iptables/rules +++ b/puppet/zulip_internal/files/iptables/rules @@ -17,8 +17,9 @@ # 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), 443 (HTTPS), and 5432 (Postgres) +# Accept incoming traffic on TCP ports 22 (SSH), 25 (SMTP), 80 (HTTP), 443 (HTTPS), and 5432 (Postgres) -A INPUT -p tcp --dport 22 -j ACCEPT +-A INPUT -p tcp --dport 25 -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