Handle wireguard network outside of common task
This commit is contained in:
parent
9a80a7408c
commit
0d74e0148f
1 changed files with 0 additions and 9 deletions
|
|
@ -54,13 +54,4 @@ iface br0 inet6 auto
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if wanted_serekh is defined %}
|
|
||||||
auto wg-serekh
|
|
||||||
iface wg-serekh inet6 static
|
|
||||||
address {{ wanted_serekh }}/64
|
|
||||||
pre-up ip link add dev wg-serekh type wireguard
|
|
||||||
pre-up wg setconf wg-serekh /etc/wireguard/wg-serekh.conf
|
|
||||||
post-down ip link delete dev wg-serekh
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
source-directory /etc/network/interfaces.d
|
source-directory /etc/network/interfaces.d
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue