OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: plc101man on June 06, 2018, 05:09:12 pm

Title: Viscosity never connects to OPNsense OpenVPN server
Post by: plc101man on June 06, 2018, 05:09:12 pm
I have OpenVPN setup in my OPNsense firewall and I cannot connect using my android cell or my viscosity client in Windows 10. This is the log that I get in Viscosity:


Jun 06 11:04:27 AM: State changed to Creating...
Jun 06 11:04:28 AM: State changed to Disconnected
Jun 06 11:04:31 AM: State changed to Connecting
Jun 06 11:04:31 AM: Viscosity Windows 1.7.9 (1566)
Jun 06 11:04:31 AM: Running on Microsoft Windows 10 Pro
Jun 06 11:04:31 AM: Running on .NET Framework Version 4.7.02556.461308
Jun 06 11:04:31 AM: Bringing up interface...
Jun 06 11:04:31 AM: OpenVPN 2.4.6 Windows-MSVC [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 26 2018
Jun 06 11:04:31 AM: library versions: OpenSSL 1.0.2o  27 Mar 2018, LZO 2.09
Jun 06 11:04:43 AM: Checking remote host "76.26.21.117" is reachable...
Jun 06 11:04:43 AM: Server reachable. Connecting to 76.26.21.117.
Jun 06 11:04:44 AM: TCP/UDP: Preserving recently used remote address: [AF_INET]76.26.21.117:443
Jun 06 11:04:44 AM: UDP link local (bound): [AF_INET][undef]:0
Jun 06 11:04:44 AM: UDP link remote: [AF_INET]76.26.21.117:443
Jun 06 11:05:44 AM: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Jun 06 11:05:44 AM: TLS Error: TLS handshake failed
Jun 06 11:05:44 AM: SIGUSR1[soft,tls-error] received, process restarting
Jun 06 11:05:44 AM: State changed to Connecting
Jun 06 11:05:55 AM: Checking remote host "76.26.21.117" is reachable...
Jun 06 11:05:55 AM: Server reachable. Connecting to 76.26.21.117.
Jun 06 11:05:56 AM: TCP/UDP: Preserving recently used remote address: [AF_INET]76.26.21.117:443
Jun 06 11:05:56 AM: UDP link local (bound): [AF_INET][undef]:0
Jun 06 11:05:56 AM: UDP link remote: [AF_INET]76.26.21.117:443


any help is greatly appreciated.
Title: Re: Viscosity never connects to OPNsense OpenVPN server
Post by: plc101man on June 06, 2018, 05:27:22 pm
Here are my other settings
Title: Re: Viscosity never connects to OPNsense OpenVPN server
Post by: plc101man on June 06, 2018, 05:27:49 pm
and this
Title: Re: Viscosity never connects to OPNsense OpenVPN server
Post by: Julien on June 06, 2018, 09:57:09 pm
Do you have port 443 port open on the wan?