Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

iptables: Limit smokescreen port 4750, add camo port.

Alex Vandivere30b524896d7
diff --git a/puppet/zulip_ops/templates/iptables/rules.v4.erb b/puppet/zulip_ops/templates/iptables/rules.v4.erb
index fc8b2bbf34e..eb93cca3dec 100644
--- a/puppet/zulip_ops/templates/iptables/rules.v4.erb
+++ b/puppet/zulip_ops/templates/iptables/rules.v4.erb
@@ -40,9 +40,14 @@
-A INPUT -p tcp --dport https -j ACCEPT
-A INPUT -p tcp --dport postgresql -j ACCEPT
+<% if @fqdn.include? "smokescreen" -%>
# Smokescreen proxy
-A INPUT -p tcp --dport 4750 -j ACCEPT
+# Camo proxy
+-A INPUT -p tcp --dport 9292 -j ACCEPT
+<% end -%>
+
# statsd
-A INPUT -p udp --dport 8125 -j ACCEPT
<% end -%>