ifupdown2: add forward option

This commit is contained in:
jeltz 2022-08-27 09:28:07 +02:00
parent d5b0fd85c8
commit 5485254c47
Signed by: jeltz
GPG key ID: 800882B66C0C3326

View file

@ -29,5 +29,9 @@ iface {{ name }}
bridge-pvid 0
post-up bridge vlan del dev {{ name }} vid 1 self
{% endif %}
{% if iface.forward | default(false) %}
ip-forward yes
ip6-forward yes
{% endif %}
{% endfor %}