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

wireguard/babel: remove wireguard interface to babeld on the fly

parent b24d0d51
Branches
No related tags found
1 merge request!398Resolve "babeld: remove wireguard post-down in babeld"
Pipeline #20577 passed
......@@ -7,6 +7,7 @@ iface {{ iface_prefix }}_{{ peer.name }} inet6 static
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 echo "flush interface $IFACE" | 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