masquerading auf anon1 - bricht ggfs non-masquerading wg-instanzen, die es bisher aber nicht gibt
This commit is contained in:
parent
e9a9d8a718
commit
ab4444d2f4
|
@ -2,6 +2,8 @@
|
||||||
PrivateKey = {{ private_key }}
|
PrivateKey = {{ private_key }}
|
||||||
Address = {{ addr }}
|
Address = {{ addr }}
|
||||||
#DNS = 193.138.219.228
|
#DNS = 193.138.219.228
|
||||||
|
PostUp = iptables -t nat -A POSTROUTING -o %i -j MASQUERADE; ip6tables -t nat -A POSTROUTING -o %i -j MASQUERADE
|
||||||
|
PostDown = iptables -t nat -D POSTROUTING -o %i -j MASQUERADE; ip6tables -t nat -D POSTROUTING -o %i -j MASQUERADE
|
||||||
|
|
||||||
{%- for peer in peers %}
|
{%- for peer in peers %}
|
||||||
[Peer]
|
[Peer]
|
||||||
|
|
Loading…
Reference in New Issue