Proxy group in staging is named differently
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
2a932db784
commit
661e5866c6
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ COMMIT
|
|||
# if there are any proxy-only tcp_ports - allow them
|
||||
{% if proxy_tcp_ports is defined %}
|
||||
{% for port in proxy_tcp_ports %}
|
||||
{% for proxy in (groups['proxies'] + groups['proxies-internal']) %}
|
||||
{% for proxy in groups['proxies-stg'] %}
|
||||
{% if hostvars[proxy]['vpn'] %}
|
||||
-A INPUT -p tcp -m tcp --dport {{ port }} --src {{ hostvars[proxy]['ansible_facts']['ansible_tun0']['ipv4']['address'] }} -j ACCEPT
|
||||
{% else %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue