Public bug reported:

I have a couple OpenVPN connections I use for work to access internal
networks, using config files and certs produced on pfSense routers.  I
have been using these VPNs successfully without any issues for a long
time, most recently on 24.04.  On 24.04, they work perfectly both via
running openvpn directly on the command line or configuring them through
Network Manager.

On 26.04, openvpn will connect to these servers, the tun devices are
present and the output of 'ip route' looks exactly the same as it does
on 24.04.  However, if I attempt to ssh into one of the servers on one
of the VPN networks it just sits there.  If I use sudo to run the ssh
command it connects immediately.  This isn't ideal though as all my ssh
keys are in my regular user account, which sudo bypasses.  Also not
useful for attempting to access internal websites over these VPNs.

I've spent a couple days searching for a solution or any other reports
of this problem.  Apologies if it's a configuration issue, but I'm at a
loss.  I've looked through my logs and the output of journalctl
wondering if it was AppArmor, but I'm not seeing any indications that
it's the problem.

Release: 26.04 LTS
Openvpn version: 2.7.0-1-ubuntu1
NetworkManager version: 1.54.3-2ubuntu3
network-manager-openvpn: 1.12.5-1

I'm happy to provide any other needed info.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: openvpn 2.7.0-1ubuntu1
ProcVersionSignature: Ubuntu 7.0.0-15.15-generic 7.0.0
Uname: Linux 7.0.0-15-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed May  6 16:16:41 2026
InstallationDate: Installed on 2026-05-04 (2 days ago)
InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423.1)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: openvpn
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: openvpn (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2151751

Title:
  Connections over OpenVPN connection only accessible via sudo/root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/2151751/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to