Copy prod fedmsg iptables loop to staging.

This commit is contained in:
Ralph Bean 2015-08-18 03:47:44 +00:00
parent 9bf01b1cef
commit 08ca54945c

View file

@ -36,6 +36,12 @@ COMMIT
-A INPUT -p tcp -m tcp --dport 5666 -s 209.132.181.35 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 5666 -s 10.5.126.41 -j ACCEPT
# if the host declares a fedmsg-enabled wsgi app, open ports for it
{% if wsgi_fedmsg_service is defined %}
{% for i in range(wsgi_procs * wsgi_threads) %}
-A INPUT -p tcp -m tcp --dport 30{{ '%02d' % i }} -j ACCEPT
{% endfor %}
{% endif %}
# if the host/group defines incoming tcp_ports - allow them
{% for port in tcp_ports %}