Add things needed for the *nat section.
This commit is contained in:
parent
7b702b0298
commit
6634b16b69
1 changed files with 6 additions and 0 deletions
|
@ -1,10 +1,16 @@
|
||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
{% if env == "staging" %}
|
{% if env == "staging" %}
|
||||||
*nat
|
*nat
|
||||||
|
:PREROUTING ACCEPT []
|
||||||
|
:POSTROUTING ACCEPT []
|
||||||
|
:OUTPUT ACCEPT []
|
||||||
|
|
||||||
# Redirect staging attempts to talk to the external proxy to an internal ip.
|
# Redirect staging attempts to talk to the external proxy to an internal ip.
|
||||||
# This is primarily for openid in staging which needs to get around proxy
|
# This is primarily for openid in staging which needs to get around proxy
|
||||||
# redirects.
|
# redirects.
|
||||||
-A OUTPUT -d 209.132.181.14 -j DNAT --to-destination 10.5.126.89
|
-A OUTPUT -d 209.132.181.14 -j DNAT --to-destination 10.5.126.89
|
||||||
|
|
||||||
|
COMMIT
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
*filter
|
*filter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue