I have set up a new VPN following the guide here. However when I try to connect to the VPN with the client i get an error "Connection failed. Try again." This happens every time. I opened the log file from my AppData\Roaming\AWSVPNClient\logs folder and I spotted an error in the log. I have pasted the log below:
2020-04-23 15:32:52.088 +01:00 [INF] Starting OpenVpn process
2020-04-23 15:32:52.284 +01:00 [DBG] DeDupeProcessDiedSignals: Unexpected errors caused OpenVPN to exit prematurely
2020-04-23 15:32:52.284 +01:00 [ERR] Process died signal sent
ACVC.Core.OpenVpn.OvpnProcessFailedToStartException: Unexpected errors caused OpenVPN to exit prematurely
at ACVC.Core.OpenVpn.OvpnWpfProcessManager.<Start>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at ACVC.Core.OpenVpn.OvpnConnectionManager.<Connect>d__58.MoveNext()
2020-04-23 15:32:52.284 +01:00 [DBG] Received exception for connection state Disconnected. Show error message to user
2020-04-23 15:32:52.284 +01:00 [ERR] Exception recieved by connect window view model
ACVC.Core.OpenVpn.OvpnProcessDiedException: The VPN process has stopped unexpectedly.
2020-04-23 15:39:07.769 +01:00 [DBG] Clean up connections. Connection state: Connecting
2020-04-23 15:39:07.769 +01:00 [INF] Terminating connection
2020-04-23 15:39:07.769 +01:00 [DBG] Ending connection details reporting.
2020-04-23 15:39:07.769 +01:00 [DBG] GracefulKill
2020-04-23 15:39:07.769 +01:00 [DBG] Stopping openvpn process
2020-04-23 15:39:07.769 +01:00 [DBG] Cancelling socket listen token
2020-04-23 15:39:07.769 +01:00 [DBG] Dispose socket
2020-04-23 15:39:07.875 +01:00 [DBG] Release process manager lock
2020-04-23 15:39:07.875 +01:00 [DBG] Disconnected
I have Googled the exception but not found anything of use. I wonder if it could be that I set up the CIDR ranges incorrectly? That was the only part of the guide that confused me.
Any help is massively appreciated.