On 03/03/2023 10:08, Tim Woodall wrote:
New to this thread, so might be totally off-piste but openvpn has hooks
to run scripts like this:
...
This is server side but the route-up/pre-down work client side too.

Presumably you can do something here to renew dhcp leases or restore
resolv.conf.

Perhaps the opposite. dhclient running for enp2s0f0 should detect that VPN is active and to avoid overwriting DNS settings that direct requests to tun0.

Reply via email to