sharkcz (sharkcz) wrote,
sharkcz
sharkcz

OpenVPN and NetworkManager conflict

I was trying to configure a system wide VPN using OpenVPN on a F-22 Alpha system by editing config file under /etc/openvpn and got into situation where not all routes sent by the OpenVPN server were applied on the client. After looking at system journal the cause seems to be a conflict between NetworkManager and OpenVPN where OpenVPN opens a new tun0 interface and NM wants to own it. The solution was to create a /etc/sysconfig/network-scripts/ifcfg-tun0 file with 2 lines like
DEVICE=tun0
NM_CONTROLLED=no
Subscribe

  • Multi-arch solution for scanning

    You might know that I am using a Power9-based Talos II system running Fedora as my primary workstation not only for my job's duties. One of the few…

  • Why it's useful to use a deskop on ppc64le

    I want provide a short example what I've met in the past weeks when dog-fooding a ppc64le Fedora desktop environment on my OpenPOWER based Talos…

  • How to debug weird build issues

    When working on a secondary arch Fedora like s390x, we witness interesting build issues sometimes. Like a sudden test failure in e2fsprogs in…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 0 comments