Sponsored Content
Top Forums UNIX for Beginners Questions & Answers VPN Connection Problem using OpenVPN Post 303044672 by tuxlover2020 on Saturday 29th of February 2020 09:02:30 PM
Old 02-29-2020
Thanks for the quick response. The journalctl tool is certainly powerful and useful. I'll have to spend some time learning its tricks. Here is the output:


Code:
[1583026309.3268] audit: op="connection-activate" uuid="1c9e7052-e2b0-48fd-ac99-68515e8ec322" name="gw1.lax2.slickvpn.com" pid=16353 uid=1000 result="success" 
[1583026309.3331] vpn-connection[0x563d0a97a130,1c9e7052-e2b0-48fd-ac99-68515e8ec322,"gw1.lax2.slickvpn.com",0]: Started the VPN service, PID 23944 
[1583026309.3420] vpn-connection[0x563d0a97a130,1c9e7052-e2b0-48fd-ac99-68515e8ec322,"gw1.lax2.slickvpn.com",0]: Saw the service appear; activating connection 
[1583026309.5335] vpn-connection[0x563d0a97a130,1c9e7052-e2b0-48fd-ac99-68515e8ec322,"gw1.lax2.slickvpn.com",0]: VPN plugin: state changed: starting (3) 
[1583026309.5336] vpn-connection[0x563d0a97a130,1c9e7052-e2b0-48fd-ac99-68515e8ec322,"gw1.lax2.slickvpn.com",0]: VPN connection: (ConnectInteractive) reply received 
nm-openvpn[23955]: OpenVPN 2.4.8 x86_64-redhat-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Nov  1 2019 
nm-openvpn[23955]: library versions: OpenSSL 1.1.1d FIPS  10 Sep 2019, LZO 2.08 
nm-openvpn[23955]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts 
nm-openvpn[23955]: TCP/UDP: Preserving recently used remote address: [AF_INET]104.247.220.10:443 
nm-openvpn[23955]: UDP link local: (not bound) 
nm-openvpn[23955]: UDP link remote: [AF_INET]104.247.220.10:443 
nm-openvpn[23955]: NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay 
fprintd.service: Succeeded. 
SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' 
nm-openvpn[23955]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) 
nm-openvpn[23955]: TLS Error: TLS handshake failed 
nm-openvpn[23955]: SIGUSR1[soft,tls-error] received, process restarting 
NetworkManager[14889]: <warn>  [1583026369.8374] vpn-connection[0x563d0a97a130,1c9e7052-e2b0-48fd-ac99-68515e8ec322,"gw1.lax2.slickvpn.com",0]: VPN connection: connect timeout exceeded. 
nm-openvpn-serv[23944]: Connect timer expired, disconnecting. 
nm-openvpn[23955]: SIGTERM[hard,init_instance] received, process exiting 
NetworkManager[14889]: <warn>  [1583026369.8418] vpn-connection[0x563d0a97a130,1c9e7052-e2b0-48fd-ac99-68515e8ec322,"gw1.lax2.slickvpn.com",0]: VPN plugin: failed: connect-failed (1) 
NetworkManager[14889]: <info>  [1583026369.8420] vpn-connection[0x563d0a97a130,1c9e7052-e2b0-48fd-ac99-68515e8ec322,"gw1.lax2.slickvpn.com",0]: VPN plugin: state changed: stopping (5) 
NetworkManager[14889]: <info>  [1583026369.8421] vpn-connection[0x563d0a97a130,1c9e7052-e2b0-48fd-ac99-68515e8ec322,"gw1.lax2.slickvpn.com",0]: VPN plugin: state changed: stopped (6) 
NetworkManager[14889]: <info>  [1583026369.8466] vpn-connection[0x563d0a97a130,1c9e7052-e2b0-48fd-ac99-68515e8ec322,"gw1.lax2.slickvpn.com",0]: VPN service disappeared


I can see it is timing out but can't see why this is happening all of a sudden.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Testing VPN Connection

Hi All: I need a script that can be timed to run every half hour to an hour to run a traceroute through a VPN to test that a connection is still up from a Win XP system. Which would be the best, C++ or Perl and what are some good resources to look at. (If anyone has a script to do this... (1 Reply)
Discussion started by: maxhewitt
1 Replies

2. Linux

vpn problem

Trying to connect to my companies VPN with vpnc but I keep getting an error that the target failed to respond. I run wireshark and see that my host sends out a few ISAKMP packets but gets no response and gives up. Any ideas what can cause this to happen? Is there someway that UDP traffic could... (0 Replies)
Discussion started by: osulinux
0 Replies

3. IP Networking

VPN Connection

Hello, I have question about VPN connection thats, I have two networks 1-Office Network 2-Home Network both are connected to internet i have in Office network PPTP VPN Server with real or static ip and on the home network all clients working with local ip Now , I need to connect to... (3 Replies)
Discussion started by: LinuxCommandos
3 Replies

4. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

5. SCO

Printing to Windows 7 using Samba 2.0.3 via VPN connection to SCO 3.2v5.0.6

I would like to know if anyone has a way to PRINT TO a printer attached to a Windows 7 PC, from SCO, while logged in via a VPN connection. I am able to attach to a Samba share on the SCO server for files while attached to the VPN, so I know my Samba is workling - but my print jobs return: ... (2 Replies)
Discussion started by: tbb999
2 Replies

6. IP Networking

Cisco VPN pcf and OpenVPN

I was given my pcf file to login to work from home and wanted to use OpenVPN instead of the Cisco VPN client software. Can I use this pcf file with OpenVPN? I attempted to use vpnc: http://wiki.centos.org/HowTos/vpnc but it just times out ?? (2 Replies)
Discussion started by: metallica1973
2 Replies

7. IP Networking

Cisco VPN server and client - connection drop

I have a Cisco 1841 router configured as Easy VPN Server. Here is the configuration of the router: Cisco# Cisco#show running-config Building configuration... Current configura - Pastebin.com I have a Centos 5.7 server with installed Cisco VPN client for Linux. The client successfully... (0 Replies)
Discussion started by: rcbandit
0 Replies

8. Cybersecurity

VPN Initial Connection Problem

Hey everyone. I have a problem, but it may be my lack of understanding that is the cause. Ok so I attend a technical school, and needless to say there's a lot of wannabe hackers, pranksters and what not. So from my laptop I'd like to connect to the wireless AP's around campus, but security is a... (1 Reply)
Discussion started by: Lost in Cyberia
1 Replies

9. IP Networking

Internet connection single interface through vpn

Hi. Can you please help me with a routing problem? There are 2 networks: 192.168.10.0/24 (eth0) 192.168.11.0/24 (eth0:1) The default gateway is 192.168.10.1 iPv4 routing is already enabled and working. With vpnc I've built up an VPN connection and can access my home network... (0 Replies)
Discussion started by: tschmi
0 Replies
RACOONCTL(8)						    BSD System Manager's Manual 					      RACOONCTL(8)

NAME
racoonctl -- racoon administrative control tool SYNOPSIS
racoonctl reload-config racoonctl show-schedule racoonctl [-l [-l]] show-sa [isakmp|esp|ah|ipsec] racoonctl flush-sa [isakmp|esp|ah|ipsec] racoonctl delete-sa saopts racoonctl establish-sa [-u identity] saopts racoonctl vpn-connect [-u -identity] vpn_gateway racoonctl vpn-disconnect vpn_gateway racoonctl show-event [-l] racoonctl logout-user login DESCRIPTION
racoonctl is used to control racoon(8) operation, if ipsec-tools was configured with adminport support. Communication between racoonctl and racoon(8) is done through a UNIX socket. By changing the default mode and ownership of the socket, you can allow non-root users to alter racoon(8) behavior, so do that with caution. The following commands are available: reload-config This should cause racoon(8) to reload its configuration file. show-schedule Unknown command. show-sa [isakmp|esp|ah|ipsec] Dump the SA: All the SAs if no SA class is provided, or either ISAKMP SAs, IPsec ESP SAs, IPsec AH SAs, or all IPsec SAs. Use -l to increase verbosity. flush-sa [isakmp|esp|ah|ipsec] is used to flush all SAs if no SA class is provided, or a class of SAs, either ISAKMP SAs, IPsec ESP SAs, IPsec AH SAs, or all IPsec SAs. establish-sa [-u username] saopts Establish an SA, either an ISAKMP SA, IPsec ESP SA, or IPsec AH SA. The optional -u username can be used when establishing an ISAKMP SA while hybrid auth is in use. racoonctl will prompt you for the password associated with username and these credentials will be used in the Xauth exchange. saopts has the following format: isakmp {inet|inet6} src dst {esp|ah} {inet|inet6} src/prefixlen/port dst/prefixlen/port {icmp|tcp|udp|any} vpn-connect [-u username] vpn_gateway This is a particular case of the previous command. It will establish an ISAKMP SA with vpn_gateway. delete-sa saopts Delete an SA, either an ISAKMP SA, IPsec ESP SA, or IPsec AH SA. vpn-disconnect vpn_gateway This is a particular case of the previous command. It will kill all SAs associated with vpn_gateway. show-event [-l] Dump all events reported by racoon(8), then quit. The -l flag causes racoonctl to not stop once all the events have been read, but rather to loop awaiting and reporting new events. logout-user login Delete all SA established on behalf of the Xauth user login. Command shortcuts are available: rc reload-config ss show-sa sc show-schedule fs flush-sa ds delete-sa es establish-sa vc vpn-connect vd vpn-disconnect se show-event lu logout-user RETURN VALUES
The command should exit with 0 on success, and non-zero on errors. FILES
/var/racoon/racoon.sock or /var/run/racoon.sock racoon(8) control socket. SEE ALSO
ipsec(4), racoon(8) HISTORY
Once was kmpstat in the KAME project. It turned into racoonctl but remained undocumented for a while. Emmanuel Dreyfus <manu@NetBSD.org> wrote this man page. BSD
November 16, 2004 BSD
All times are GMT -4. The time now is 05:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy