Skip to content
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.

Commit

Permalink
#4 allow terrain from within docker
Browse files Browse the repository at this point in the history
  • Loading branch information
donsizemore committed Mar 15, 2016
1 parent 859b5f9 commit cd11eb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible/roles/iptables/templates/iptables.j2
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@
{% if inventory_hostname in groups['terrain'] %}
# terrain port from DMZ
-A INPUT -m state --state NEW -m tcp -p tcp -s {{ net.dmz }} --dport {{ terrain.port }} -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp -s {{ net.docker }} --dport {{ terrain.port }} -j ACCEPT

{% endif %}
{% if inventory_hostname in groups['tree-urls'] %}
Expand Down

0 comments on commit cd11eb4

Please sign in to comment.