I have bought the System Admin module for FreePBX to setup VPN on some remote phones. From the VPN Server setting menu it seems to be enabled and set up correctly but the VPN connections time out.
How can I check if the OpenVPN server is actually running?
For testing at the moment I am using a windows PC with OpenVPN client to try to connect.
The router the FreePBX system is behind has an OpenVPN server and I can connect to that without any problems. When I disable it and forward port 1194 to the PBX system the connection attemt times out.
`Tue Oct 27 14:08:10 2020 OpenVPN 2.5_rc1 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Sep 21 2020
Tue Oct 27 14:08:10 2020 Windows version 10.0 (Windows 10 or greater) 64bit
Tue Oct 27 14:08:10 2020 library versions: OpenSSL 1.1.1g 21 Apr 2020, LZO 2.10
Tue Oct 27 14:08:10 2020 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25341
Tue Oct 27 14:08:10 2020 Need hold release from management interface, waitingâŚ
Tue Oct 27 14:08:11 2020 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25341
Tue Oct 27 14:08:11 2020 MANAGEMENT: CMD âstate onâ
Tue Oct 27 14:08:11 2020 MANAGEMENT: CMD âlog all onâ
Tue Oct 27 14:08:11 2020 MANAGEMENT: CMD âecho all onâ
Tue Oct 27 14:08:11 2020 MANAGEMENT: CMD âbytecount 5â
Tue Oct 27 14:08:11 2020 MANAGEMENT: CMD âhold offâ
Tue Oct 27 14:08:11 2020 MANAGEMENT: CMD âhold releaseâ
Tue Oct 27 14:08:11 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]xx.xx.xx.xx:1194
Tue Oct 27 14:08:11 2020 Socket Buffers: R=[65536->65536] S=[65536->65536]
Tue Oct 27 14:08:11 2020 UDP link local: (not bound)
Tue Oct 27 14:08:11 2020 UDP link remote: [AF_INET]xx.xx.xx.xx:1194
Tue Oct 27 14:08:11 2020 MANAGEMENT: >STATE:1603807691,WAIT,
Tue Oct 27 14:09:11 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Tue Oct 27 14:09:11 2020 TLS Error: TLS handshake failed`