summaryrefslogtreecommitdiff
path: root/roles/install_wireguard_backbone/templates/down2.sh.j2
blob: d34c586d7f652f39d372400c01bdfc6fb0a5d3d7 (plain)
1
2
3
4
5
6
7
#!/bin/bash
ip -4 rule del iif bb{{ item.name }} table ffmyk
ip -6 rule del iif bb{{ item.name }} table ffmyk
ip -4 rule del from all iif bb{{ item.name }} type unreachable
ip -6 rule del from all iif bb{{ item.name }} type unreachable
ip link set down dev bb{{ item.name }}
ip link del bb{{ item.name }}