From c8dad45c8afa4fd4a784ae6cdffb84a2e804084e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 22 Jul 2022 08:56:45 +0200 Subject: T31: reset iproute2 VRF table on startup --- scripts/init/vyos-router | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/init/vyos-router b/scripts/init/vyos-router index 8345890..2785132 100755 --- a/scripts/init/vyos-router +++ b/scripts/init/vyos-router @@ -221,9 +221,13 @@ security_reset () # PPPoE rm -f /etc/ppp/peers/pppoe* /etc/ppp/peers/wlm* + # IPSec rm -rf /etc/ipsec.conf /etc/ipsec.secrets find /etc/swanctl -type f | xargs rm -f + + # VRF + rm -f /etc/iproute2/rt_tables.d/vyos-vrf.conf } # XXX: T3885 - generate persistend DHCPv6 DUID (Type4 - UUID based) -- cgit v1.2.3