Hotplug for route added / removed for the kernel routing table

Hello

I wonder how can i write a hotpug if a specific network is added or removed from/to the routing table?

Like this one:

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.50.0    10.20.0.2       255.255.255.0   UG        0 0          0 tun0

Here i not found anything regarding the network related events;

thank you

1 Like

Since the protocol is unmanaged by netifd, you need to utilize OpenVPN-specific scripts:

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.