Thee
December 10th, 2015, 03:17 PM
Hi,
I tried various suggestions found on the net, I moved the ca.crt file to ~/.cert folder, tried disabling SElinux, etc., but nothing seems to work. It just says "Connection failed" when I try to connect to OpenVPN.
When using the command:
sudo journalctl -f
I see the following:
Dec 10 15:02:02 thee NetworkManager[864]: <info> Starting VPN service 'openvpn'...
Dec 10 15:02:02 thee NetworkManager[864]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 2055
Dec 10 15:02:02 thee NetworkManager[864]: modprobe: FATAL: Module tun not found in directory /lib/modules/4.2.3-300.fc23.x86_64
Dec 10 15:02:02 thee NetworkManager[864]: <info> VPN service 'openvpn' appeared; activating connections
Dec 10 15:02:02 thee NetworkManager[864]: <info> VPN plugin state changed: starting (3)
Dec 10 15:02:02 thee NetworkManager[864]: (nm-openvpn-service:2055): nm-openvpn-WARNING **: Directory '/var/lib/openvpn/chroot' not usable for chroot by 'nm-openvpn', openvpn will not be chrooted.
Dec 10 15:02:02 thee NetworkManager[864]: nm-openvpn-Message: openvpn started with pid 2062
Dec 10 15:02:02 thee NetworkManager[864]: <info> VPN connection 'vpnde' (ConnectInteractive) reply received.
Dec 10 15:02:02 thee nm-openvpn[2062]: OpenVPN 2.3.8 x86_64-redhat-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Aug 4 2015
Dec 10 15:02:02 thee nm-openvpn[2062]: library versions: OpenSSL 1.0.2e-fips 3 Dec 2015, LZO 2.08
Dec 10 15:02:03 thee nm-openvpn[2062]: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Dec 10 15:02:03 thee nm-openvpn[2062]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Dec 10 15:02:03 thee nm-openvpn[2062]: NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Dec 10 15:02:03 thee nm-openvpn[2062]: UDPv4 link local: [undef]
Dec 10 15:02:03 thee nm-openvpn[2062]: UDPv4 link remote: [AF_INET]62.113.224.211:1194
Dec 10 15:02:03 thee nm-openvpn[2062]: [pmvpn3] Peer Connection Initiated with [AF_INET]62.113.224.211:1194
Dec 10 15:02:05 thee nm-openvpn[2062]: ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
Dec 10 15:02:05 thee nm-openvpn[2062]: Exiting due to fatal error
Dec 10 15:02:05 thee NetworkManager[864]: (nm-openvpn-service:2055): nm-openvpn-WARNING **: openvpn exited with error code 1
Dec 10 15:02:05 thee NetworkManager[864]: <warn> VPN plugin failed: connect-failed (1)
Dec 10 15:02:05 thee NetworkManager[864]: <info> VPN plugin state changed: stopped (6)
Dec 10 15:02:05 thee NetworkManager[864]: <info> VPN plugin state change reason: unknown (0)
Dec 10 15:02:05 thee NetworkManager[864]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Any suggestions on how to fix this problem?
Thanks
I tried various suggestions found on the net, I moved the ca.crt file to ~/.cert folder, tried disabling SElinux, etc., but nothing seems to work. It just says "Connection failed" when I try to connect to OpenVPN.
When using the command:
sudo journalctl -f
I see the following:
Dec 10 15:02:02 thee NetworkManager[864]: <info> Starting VPN service 'openvpn'...
Dec 10 15:02:02 thee NetworkManager[864]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 2055
Dec 10 15:02:02 thee NetworkManager[864]: modprobe: FATAL: Module tun not found in directory /lib/modules/4.2.3-300.fc23.x86_64
Dec 10 15:02:02 thee NetworkManager[864]: <info> VPN service 'openvpn' appeared; activating connections
Dec 10 15:02:02 thee NetworkManager[864]: <info> VPN plugin state changed: starting (3)
Dec 10 15:02:02 thee NetworkManager[864]: (nm-openvpn-service:2055): nm-openvpn-WARNING **: Directory '/var/lib/openvpn/chroot' not usable for chroot by 'nm-openvpn', openvpn will not be chrooted.
Dec 10 15:02:02 thee NetworkManager[864]: nm-openvpn-Message: openvpn started with pid 2062
Dec 10 15:02:02 thee NetworkManager[864]: <info> VPN connection 'vpnde' (ConnectInteractive) reply received.
Dec 10 15:02:02 thee nm-openvpn[2062]: OpenVPN 2.3.8 x86_64-redhat-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Aug 4 2015
Dec 10 15:02:02 thee nm-openvpn[2062]: library versions: OpenSSL 1.0.2e-fips 3 Dec 2015, LZO 2.08
Dec 10 15:02:03 thee nm-openvpn[2062]: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Dec 10 15:02:03 thee nm-openvpn[2062]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Dec 10 15:02:03 thee nm-openvpn[2062]: NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Dec 10 15:02:03 thee nm-openvpn[2062]: UDPv4 link local: [undef]
Dec 10 15:02:03 thee nm-openvpn[2062]: UDPv4 link remote: [AF_INET]62.113.224.211:1194
Dec 10 15:02:03 thee nm-openvpn[2062]: [pmvpn3] Peer Connection Initiated with [AF_INET]62.113.224.211:1194
Dec 10 15:02:05 thee nm-openvpn[2062]: ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
Dec 10 15:02:05 thee nm-openvpn[2062]: Exiting due to fatal error
Dec 10 15:02:05 thee NetworkManager[864]: (nm-openvpn-service:2055): nm-openvpn-WARNING **: openvpn exited with error code 1
Dec 10 15:02:05 thee NetworkManager[864]: <warn> VPN plugin failed: connect-failed (1)
Dec 10 15:02:05 thee NetworkManager[864]: <info> VPN plugin state changed: stopped (6)
Dec 10 15:02:05 thee NetworkManager[864]: <info> VPN plugin state change reason: unknown (0)
Dec 10 15:02:05 thee NetworkManager[864]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Any suggestions on how to fix this problem?
Thanks