ifupdown2: add forward option
This commit is contained in:
parent
d5b0fd85c8
commit
5485254c47
1 changed files with 4 additions and 0 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue