Re: [Openvpn-devel] OpenVPN and outside clients
Antonio Quartulli <[email protected]>
| Newsgroups | gmane.network.openvpn.user |
|---|---|
| Message-ID | <[email protected]> |
Resending to the mailing list for completeness (please always keep the mailing list in the CC field) Regards, On 03/01/2024 12:53, Peter Davis wrote: >>>> Hello, >>>> I changed the IP address in the client configuration file, but I can't >>>> connect to the server. I got the following error: >>>> > >>>> Wed Jan 3 10:32:32 2024 TLS Error: TLS key negotiation failed to >>>> occur within 60 seconds (check your network connectivity) >>>> Wed Jan 3 10:32:32 2024 TLS Error: TLS handshake failed >>>> > >>>> I checked the OpenVPN log file too, but there was nothing there: >>>> # cat /var/log/openvpn/openvpn.log >>> > >>> This is a clear indication that your connection attempt is not reaching >>> the VPN server at all. >>> > >>> This is a problem with whatever is in the middle, i.e. gateway/firewall. >>> > >>> * Have you properly configured the port forwarding on the gateway/firewall? >>> * Have you allowed the right ports on the gateway/firewall? >>> * Is there any firewall on the VPN server which may be preventing >>> connections from outside the LAN? >>> > >>> Note: this is unrelated to OpenVPN, but just a generic network >>> configuration issue. >>> > > Thanks again. > You right. The firewall was configured for the TCP protocol, not UDP. > Problem solved. -- Antonio Quartulli