Public bug reported:
After installing Ubuntu 26.04 on a new laptop I discovered a strange
behaviour with OpenVPN connections. I exported existing connections on
my 24.04-based host and imported them on the new host. While doing the
initial work, I connected to VPN on the new host using nm-cli.
After switching to real desktop use, I connected to the same VPN using
the nm-applet, got the "connected" icon and could ping hosts residing in
the remote vpn location, but DNS did not work and I could see that the
DNS servers that are usually pushed via OpenVPN where not configured.
Looking in the logs yielded:
nm-openvpn[51257]: Options error: --dhcp-option DOMAIN contains invalid
characters
nm-openvpn[51257]: Options error: Unrecognized option or missing or extra
parameter(s) in [PUSH-OPTIONS]:25: block-outside-dns (2.7.0)
nm-openvpn[51257]: Options error: Unrecognized option or missing or extra
parameter(s) in [PUSH-OPTIONS]:26: register-dns (2.7.0)
Now for the interessting part: my connection has the symbolic name of
"VPN (UDP)". If I change this to "VPN-UDP" the connection works as
expected when using the nm-applet. If I don't change the name and use
nm-cli to connect, using
> nmcli connection up "VPN (UDP)"
the connection works fine and in addition I can disconnect and reconnect
via the nm-applet until next reboot. After reboot, connecting via nm-
applet failes again.
** Affects: network-manager-openvpn (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to network-manager-openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/2150647
Title:
OpenVPN connection via nm-applet failes if connection name contains
spaces
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/2150647/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs