Openvpn not working

metekii

New Member
Joined
Jun 20, 2022
Messages
1
Reaction score
0
Credits
13
when ı try to openvpn ı get this error do you have any solutions

2022-06-20 04:24:57 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
2022-06-20 04:24:57 TLS Error: TLS handshake failed
2022-06-20 04:24:57 SIGUSR1[soft,tls-error] received, process restarting 2022-06-20 04:24:57 Restart pause, 5 second(s)

ı use virtual machine
 


mrcrossroads

Silver Member
Silver Supporter
Joined
Nov 23, 2017
Messages
180
Reaction score
176
Credits
935
when ı try to openvpn ı get this error do you have any solutions

2022-06-20 04:24:57 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
2022-06-20 04:24:57 TLS Error: TLS handshake failed
2022-06-20 04:24:57 SIGUSR1[soft,tls-error] received, process restarting 2022-06-20 04:24:57 Restart pause, 5 second(s)

ı use virtual machine
I could be wrong, but the pros here are probably going to ask you for more details. What OS/distro/DE are you running and in what VM? Version of openVPN, settings etc. Just a few I can think of off the top of my head.
 

Lord Boltar

Well-Known Member
Joined
Nov 24, 2020
Messages
1,794
Reaction score
1,205
Credits
13,361
Generally this is usually the result of few things
A perimeter firewall on the server's network is filtering out incoming OpenVPN packets (by default OpenVPN uses UDP or TCP port number 1194).
A software firewall running on the OpenVPN server machine itself is filtering incoming connections on port 1194. Be aware that many OSes will block incoming connections by default, unless configured otherwise.
A NAT gateway on the server's network does not have a port forward rule for TCP/UDP 1194 to the internal address of the OpenVPN server machine.
The OpenVPN client config does not have the correct server address in its config file. The remote directive in the client config file must point to either the server itself or the public IP address of the server network's gateway.
Another possible cause is that the windows firewall is blocking access for the openvpn.exe binary. You may need to whitelist (add it to the "Exceptions" list) it for OpenVPN to work.
 

arigato

New Member
Joined
Sep 22, 2022
Messages
1
Reaction score
0
Credits
7
I have the same error.
Iranian regime is trying to shut us down.
is there any way around this?
I currently have access to my server and I can reconfigure openvpn. but I don't know what to do.
any help would be appreciated
 

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
4,787
Reaction score
4,102
Credits
27,530
@arigato , you would do well to open a fresh topic....you will get more responses.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top