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

    Can not establish connection to OPENVPN server

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 2 Posters 358 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.
    • A
      abonent1978
      last edited by

      I'm trying to establish connection to OpenVPN server and pfsense acting as client.
      I'm getting strange error

      May 6 13:33:16 openvpn 31921 TCP/UDP: Preserving recently used remote address: [AF_INET]92.113.146.1:1194

      Neither IP nor port above is configured in my OpenVPN config. Any suggestions where to look for clues.
      Below is my server config

      client
      proto udp
      explicit-exit-notify
      remote 171.x.x.x 1199
      dev tun
      resolv-retry infinite
      nobind
      persist-key
      persist-tun
      remote-cert-tls server
      verify-x509-name server_ZyvhPjv2IeFuwsPN name
      auth SHA256
      auth-nocache
      cipher AES-128-GCM
      tls-client
      tls-version-min 1.2
      tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
      ignore-unknown-option block-outside-dns
      setenv opt block-outside-dns # Prevent Windows 10 DNS leak
      verb 3
      <ca>
      -----BEGIN CERTIFICATE-----
      xxx
      -----END CERTIFICATE-----
      </ca>
      <cert>
      -----BEGIN CERTIFICATE-----
      xxx
      -----END CERTIFICATE-----
      </cert>
      <key>
      -----BEGIN PRIVATE KEY-----
      xxx
      -----END PRIVATE KEY-----
      </key>
      <tls-crypt>

      2048 bit OpenVPN static key

      -----BEGIN OpenVPN Static key V1-----
      xxx
      -----END OpenVPN Static key V1-----
      </tls-crypt>

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @abonent1978
        last edited by

        @abonent1978

        Try this :
        On the OpenVPN client, delete the configs present.
        Then : re import your client VPN config again.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        A 1 Reply Last reply Reply Quote 0
        • A
          abonent1978 @Gertjan
          last edited by

          @Gertjan Thanks for your reply. Tried to re import config, same problem

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @abonent1978
            last edited by

            @abonent1978

            If the only VPN config present contains :

            remote 171.x.x.x 1199
            

            Then where does "92.113.146.1:1194" come from ?

            What / who is the client VPN ?

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

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