Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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."
I know little about Netplan (not used in openSUSE Leap), but had a quick read of this page to get a handle on it's support with NetworkManager and systemd-networkd frameworks. I assume that Netplan is configured to use NetworkManager as the renderer in /etc/netplan/config.yaml?
I've seen examples such as described here that show the necessary specified like this
Ok, thanks for clarifying. The output posted looks as expected.
I'm surprised that your firewall would be blocking a VPN client. Anyway, keep us posted.
Background; when I disabled to firewall (ufw) the PPTP VPN connections worked.
I added the VPN server address to the ALLOWs in ufw, but that made no difference; connection failed if the uwf was enabled. I did get a different error though, indicating "timed out"
I called on the google beast and found a snippet from a few years ago:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.