Ask Your Question

Revision history [back]

'.ovpn' File Missing on Fedora 24, Cannot Set Up OpenVPN Using NetworkManager

Hi guys,

I've been trying to set up OpenVPN on my machine for 2 days now. I've been through lot's of How-To's on the net and all of them have this as one of the final steps:

nohup openvpn --config /path/to/config/example.ovpn &

or:

sudo nohup openvpn --config client.ovpn &

The issue is, I can't locate this file anywhere on the system even after following these steps. The OpenVPN service works well:

● openvpn@server.service - OpenVPN Robust And Highly Flexible Tunneling Application On server
     Loaded: loaded (/usr/lib/systemd/system/openvpn@.service; enabled; vendor preset: disabled)
     Active: active (running) since Tue 2016-11-22 11:18:50 EAT; 35min ago
   Process: 975 ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf (code=exited, status=
     Main PID: 986 (openvpn)
        Tasks: 1 (limit: 512)
       CGroup: /system.slice/system-openvpn.slice/openvpn@server.service
               └─986 /usr/sbin/openvpn --daemon --writepid /var/run/openvpn/server.pid --cd /etc/openvpn/ --config server.conf

Nov 22 11:18:50 localhost.localdomain openvpn[986]: /usr/sbin/ip addr add dev tun0 local 10.8.0.1 peer 10.8.0.2
Nov 22 11:18:50 localhost.localdomain openvpn[986]: /usr/sbin/ip route add 10.8.0.0/24 via 10.8.0.2
Nov 22 11:18:50 localhost.localdomain openvpn[986]: GID set to nobody
Nov 22 11:18:50 localhost.localdomain openvpn[986]: UID set to nobody
Nov 22 11:18:50 localhost.localdomain openvpn[986]: UDPv4 link local (bound): [undef]
Nov 22 11:18:50 localhost.localdomain openvpn[986]: UDPv4 link remote: [undef]
Nov 22 11:18:50 localhost.localdomain openvpn[986]: MULTI: multi_init called, r=256 v=256
Nov 22 11:18:50 localhost.localdomain openvpn[986]: IFCONFIG POOL: base=10.8.0.4 size=62, ipv6=0
Nov 22 11:18:50 localhost.localdomain openvpn[986]: IFCONFIG POOL LIST
Nov 22 11:18:50 localhost.localdomain openvpn[986]: Initialization Sequence Completed

What am I missing guys? Please help.