summaryrefslogtreecommitdiff
path: root/roles/install_wireguard_backbone/templates/down.sh.j2
blob: 6b78d2e7898362178d455c4b128aea555fef7d24 (plain)
1
2
3
4
5
#!/bin/bash
ip -4 rule del iif bb{{ hostvars[item]['wireguard_bb_name'] }} table ffmyk
ip -6 rule del iif bb{{ hostvars[item]['wireguard_bb_name'] }} table ffmyk
ip link set down dev bb{{ hostvars[item]['wireguard_bb_name'] }}
ip link del bb{{ hostvars[item]['wireguard_bb_name'] }}