exit-ip: let ansible determine external interface

This commit is contained in:
Markus 2020-02-11 12:28:31 +01:00
parent e9defd4236
commit d60af77439

View File

@ -4,7 +4,7 @@
:INPUT ACCEPT [1:136] :INPUT ACCEPT [1:136]
:OUTPUT ACCEPT [2:472] :OUTPUT ACCEPT [2:472]
:POSTROUTING ACCEPT [0:0] :POSTROUTING ACCEPT [0:0]
-A POSTROUTING -o eth0 -j MASQUERADE -A POSTROUTING -o {{ ansible_default_ipv4.interface }} -j MASQUERADE
COMMIT COMMIT
*filter *filter
:INPUT ACCEPT [1124:131621] :INPUT ACCEPT [1124:131621]