I hope something can be worked out before this lands in the next LTS-release. This breaks one of the most common uses of a VPN (remote work).
Right now a workaround is using this script after connecting to a VPN-server:
https://github.com/jonathanio/update-systemd-resolved
It calls systemd-resolved via DBus to add the proper settings after the OpenVPN connection is established.
Of course this means abandoning NetworkManager for use with OpenVPN, because there is also no way to specify --up and --down parameters.
I hope something can be worked out before this lands in the next LTS-release. This breaks one of the most common uses of a VPN (remote work).
Right now a workaround is using this script after connecting to a VPN-server:
https:/ /github. com/jonathanio/ update- systemd- resolved
It calls systemd-resolved via DBus to add the proper settings after the OpenVPN connection is established.
Of course this means abandoning NetworkManager for use with OpenVPN, because there is also no way to specify --up and --down parameters.