Article 5S48P The VPN connection failed because the connection attempt timed out

The VPN connection failed because the connection attempt timed out

by
lattimro
from LinuxQuestions.org on (#5S48P)
First time in my life I am trying to setup a VPN and connection timeout.
- both server and client services are running on the same machine respectively openvpn-server@server and openvpn@client
- I am not using wireless, I am using wired and it is up
- I am not using UDP but TCP on the server I am not sure about client, but as my very poor knowledge the client is using UDP, when I stop client the port 46144 which anyhow was not LISTEN just disappear and has to restart the client service.
- the firewall is not blocking the port

Code:Nov 19 12:22:18 zika nm-openvpn[70069]: TCP/UDP: Preserving recently used remote address: [AF_INET]xxx.xxx.xxx.xxx:YYYY
Nov 19 12:22:18 zika nm-openvpn[70069]: Attempting to establish TCP connection with [AF_INET]xxx.xxx.xxx.xxxx:YYYY [nonblock]
Nov 19 12:22:18 zika nm-openvpn[70069]: TCP: connect to [AF_INET]xxx.xxx.xxx.xxx:YYYY failed: Connection refused
Nov 19 12:22:18 zika nm-openvpn[70069]: SIGUSR1[connection failed(soft),init_instance] received, process restarting
Nov 19 12:22:22 zika NetworkManager[1681]: <info> [1637342542.0889] audit: op="connection-update" uuid="137857ef-06bc-461e-a906-4dfabe98950c" name="zika" args="vpn.secrets,vpn.data" pid=70073 uid=1000 result="success"
Nov 19 12:22:35 zika systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Nov 19 12:22:38 zika nm-openvpn[70069]: NOTE: the current --script-security setting may allow this configuration to call user-defined scriptsnetstat -tulpn|g open

Code:
tcp 0 0 192.168.1.4:1194 0.0.0.0:* LISTEN 72344/openvpn
udp 0 0 0.0.0.0:46144 0.0.0.0:* 72600/openvpnlatest?d=yIl2AUoC8zA latest?i=Wdbc6MGx83M:J3j_KNNgo7Q:F7zBnMy latest?i=Wdbc6MGx83M:J3j_KNNgo7Q:V_sGLiP latest?d=qj6IDK7rITs latest?i=Wdbc6MGx83M:J3j_KNNgo7Q:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments