Skip to content
Snippets Groups Projects
Commit b24d0d51 authored by skorpy's avatar skorpy :construction_worker:
Browse files

wireguard/babel: add wireguard interface to babel on the fly

parent 5dea7068
Branches
No related tags found
1 merge request!397Resolve "babeld: add wireguard on creation to babeld"
Pipeline #20575 passed
......@@ -6,6 +6,7 @@ iface {{ iface_prefix }}_{{ peer.name }} inet6 static
pre-up ip link add dev $IFACE type wireguard
pre-up wg setconf $IFACE /etc/wg/$IFACE.conf
address fe80::1/64
post-up echo "interface $IFACE type tunnel link-quality true update-interval 300" | nc ::1 33123
post-down ip link del dev $IFACE
{% endfor %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment