• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 457 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 Jun 1, 2025, 7:50 PM

    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>

    G 1 Reply Last reply Jun 2, 2025, 11:00 AM Reply Quote 0
    • G
      Gertjan @abonent1978
      last edited by Jun 2, 2025, 11:00 AM

      @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 Jun 2, 2025, 11:53 AM Reply Quote 0
      • A
        abonent1978 @Gertjan
        last edited by Jun 2, 2025, 11:53 AM

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

        G 1 Reply Last reply Jun 2, 2025, 1:15 PM Reply Quote 0
        • G
          Gertjan @abonent1978
          last edited by Jun 2, 2025, 1:15 PM

          @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
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received