summaryrefslogtreecommitdiff
path: root/roles/configure_static_routes/templates/ffmyk-iproute-down.j2
blob: ae502975682857fb441456cb0a027ab794e3f658 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

ip -4 route del {{item.net4 }} dev bat{{ item.name }} proto static table ffmyk
ip -6 route del {{item.net6 }} dev bat{{ item.name }} proto static table ffmyk

ip -4 rule del iif bat{{ item.name }} table ffmyk
ip -6 rule del iif bat{{ item.name }} table ffmyk
ip -4 rule del from {{ item.net4 }} table ffmyk
ip -6 rule del from {{ item.net6 }} table ffmyk