Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Able to connect to OpenVPN from OSX, but not iOS

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LouC918
      last edited by

      The Subject says it all. I'm able to connect to OpenVPN running on my PFsense firewall through my Mac when it's using my iPhone as a hotspot. Then, I disconnect my Mac, turn off WiFi tethering, and attempt to connect my iPhone to the VPN and I get a connection timeout and TLS handshake failed error. I can connect to the VPN through my iPhone when behind the firewall, so I know the certificate and credentials are correct. I've also tried connecting to my VPN with my iPhone from a neighbors WiFi network, and get the same timeout. I've uninstalled / reinstalled OpenVPN on the iPhone to no avail.

      Once upon a time this was all working fine, nothing has changed in my configuration, so I'm at a loss. Does anyone have any ideas?

      PFsense 2.2.2 x64
      OpenVPN Connect 1.0.5 build 166 (iOS 8 )

      Logs:
      Jun 13 18:24:23 openvpn[23754]: 208.54.85.198:58543 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
      Jun 13 18:24:23 openvpn[23754]: 208.54.85.198:58543 TLS Error: TLS handshake failed
      Jun 13 18:25:09 openvpn[23754]: 208.54.85.198:38415 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
      Jun 13 18:25:09 openvpn[23754]: 208.54.85.198:38415 TLS Error: TLS handshake failed
      Jun 13 18:29:41 openvpn[23754]: 208.54.85.198:56597 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
      Jun 13 18:29:41 openvpn[23754]: 208.54.85.198:56597 TLS Error: TLS handshake failed
      Jun 13 18:30:26 openvpn[23754]: 208.54.85.198:33601 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
      Jun 13 18:30:26 openvpn[23754]: 208.54.85.198:33601 TLS Error: TLS handshake failed

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Is that log from the server side or client?
        Unfortunately when one side only shows a timeout, the other end would have much more informative logs.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • L
          LouC918
          last edited by

          Have a look at the log from the client.

          2015-06-18 15:54:03 EVENT: CONNECTION_TIMEOUT [ERR]
          2015-06-18 15:54:03 EVENT: DISCONNECTED
          2015-06-18 15:54:03 Raw stats on disconnect:
          BYTES_IN : 13432
          BYTES_OUT : 50104
          PACKETS_IN : 76
          PACKETS_OUT : 105
          KEEPALIVE_TIMEOUT : 1
          CONNECTION_TIMEOUT : 1
          N_RECONNECT : 1
          2015-06-18 15:54:03 Performance stats on disconnect:
          CPU usage (microseconds): 446501
          Network bytes per CPU second: 142297
          Tunnel bytes per CPU second: 0
          2015-06-18 15:54:03 EVENT: DISCONNECT_PENDING
          2015-06-18 15:54:03 –--- OpenVPN Stop -----

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.