forked from FF-RGB/ansible
exit-ip: let ansible determine external interface
This commit is contained in:
parent
e9defd4236
commit
d60af77439
@ -4,7 +4,7 @@
|
||||
:INPUT ACCEPT [1:136]
|
||||
:OUTPUT ACCEPT [2:472]
|
||||
:POSTROUTING ACCEPT [0:0]
|
||||
-A POSTROUTING -o eth0 -j MASQUERADE
|
||||
-A POSTROUTING -o {{ ansible_default_ipv4.interface }} -j MASQUERADE
|
||||
COMMIT
|
||||
*filter
|
||||
:INPUT ACCEPT [1124:131621]
|
||||
|
Loading…
Reference in New Issue
Block a user