Commit 9192075b authored by nanahira's avatar nanahira

masq

parent a23e1e19
......@@ -18,7 +18,7 @@ ip rule add pref 81 to {{subnet}} lookup main || true
# MASQ interfaces
{% for interface in masqInterfaces %}
iptables -t nat -A POSTROUTING -o {{interface.name}} -j MASQUERADE
iptables -t nat -A POSTROUTING -m set --match-set mycard src -o {{interface.name}} -j MASQUERADE
{% endfor %}
# chain for wg origin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment