Article 4H7XY Cannot get a VPN connection working -

Cannot get a VPN connection working -

by
FrizzledOldButt
from LinuxQuestions.org on (#4H7XY)
This relates to Ubuntu 18.04 LTS and may be specific to it.

The XFCE4 GUI desktop environment is installed.

After the upgrade from 16.04 LTS to 18.04 LTS, my VPN connections, previously working, no longer work. I have set up PPTP and OpenVPN connections.

The netplan configuration is
Quote:
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
ethernets:
enp1s0:
addresses: []
dhcp4: true
version: 2

Please note that I have pretty much exhausted everything I can find on the internet about the topic, but my knowledge & expertise in networking at this level is limited.

Using the desktop nm-applet the VPN connection items are greyed out. Starting nm-applet with sudo the items seem active but don't respond.

I have resorted to nmcli.

nmcli con gives me

Code:myOpenVPN 9439b05e-bc7e-419b-8679-95aa84394af2 vpn --I note the device column is empty. Should it be?

Attempting Code: sudo nmcli c up myOpenVPNgives me
Code:Error: Connection activation failed: Could not find source connection./var/log/openvpn is empty

grep VPN /var/log/syslog gives me

Quote:
/etc/NetworkManager/system-connections/myOpenVPN (9439b05e-bc7e-419b-8679-95aa84394af2,"myOpenVPN")
Jun 15 14:55:21 mythserver02 NetworkManager[1961]: <info> [1560576321.7239] audit: op="connection-activate" uuid="9439b05e-bc7e-419b-8679-95aa84394af2" name="myOpenVPN" pid=19429 uid=0 result="fail" reason="Could not find source connection."

journalctl -u NetworkManager.service

Quote:
Jun 15 14:51:44 mythserver02 NetworkManager[1961]: <warn> [1560576104.9623] error requesting auth for org.freedesktop.NetworkManager.reload: Authorization check failed: Failed to open file "/proc/19299/status": No such file or directory
Jun 15 14:51:44 mythserver02 NetworkManager[1961]: <warn> [1560576104.9629] error requesting auth for org.freedesktop.NetworkManager.checkpoint-rollback: Authorization check failed: Failed to open file "/proc/19299/status": No such file or directory
Jun 15 14:51:44 mythserver02 NetworkManager[1961]: <warn> [1560576104.9635] error requesting auth for org.freedesktop.NetworkManager.enable-disable-statistics: Authorization check failed: Failed to open file "/proc/19299/status": No such file or directory
Jun 15 14:51:44 mythserver02 NetworkManager[1961]: <warn> [1560576104.9640] error requesting auth for org.freedesktop.NetworkManager.enable-disable-connectivity-check: Authorization check failed: Failed to open file "/proc/19299/status": No such file or directory
Jun 15 14:55:21 mythserver02 NetworkManager[1961]: <info> [1560576321.7239] audit: op="connection-activate" uuid="9439b05e-bc7e-419b-8679-95aa84394af2" name="myOPenVPN" pid=19429 uid=0 result="fail" reason="Could not find source connection."
There is no /proc/19222 - what is that?

Any help. anyone?

Thankslatest?d=yIl2AUoC8zA latest?i=AiO5kvtmDAs:5w2p5XQ3Wyk:F7zBnMy latest?i=AiO5kvtmDAs:5w2p5XQ3Wyk:V_sGLiP latest?d=qj6IDK7rITs latest?i=AiO5kvtmDAs:5w2p5XQ3Wyk:gIN9vFwAiO5kvtmDAs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments