You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
283 B
Plaintext

#!/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'] }}