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

    Only first IP connected have acces to network

    Scheduled Pinned Locked Moved OpenVPN
    6 Posts 3 Posters 630 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
      artware
      last edited by

      Hello,
      Maybe I do something wrong, but is strange.
      I create one OpenVPN Server i do test with client connected 18Hours, but when I try to connect second client, he is connected but have no acces to network, no ping to lan network.
      In status show conected and register traffic but client get no results.
      If i restart OpenVPN service, first connected client get acces to network, rest nothing.
      What can be?
      I have last version, Concurrent connections set to 50, Inter-client communication allow, Duplicate Connection allow

      1 Reply Last reply Reply Quote 0
      • A
        artware
        last edited by

        Certificate are different:
        first certificate/config example:
        <ca>
        -----BEGIN CERTIFICATE-----
        MIIEGDCCAwCgAwIBAgIBADANBgkqhkiG9w0BAQsFADBmMRQ


        9Wy8fKU=
        -----END CERTIFICATE-----
        </ca>
        <cert>
        -----BEGIN CERTIFICATE-----
        MIIEYDCCA0igAwIBAgIBDjANBgkqhkiG9w0BAQsFADBmMRQwE


        +gsFKLpim9ASMyL0LurvJzKMd6Y=
        -----END CERTIFICATE-----
        </cert>
        <key>
        -----BEGIN PRIVATE KEY-----
        MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQ


        Yaw+t/QKOvDrnXSuPAGpfg==
        -----END PRIVATE KEY-----
        </key>
        key-direction 1
        <tls-auth>

        2048 bit OpenVPN static key

        -----BEGIN OpenVPN Static key V1-----
        48bfe7c65592025001a1e271e2b90ae7


        3a0024bbd063aa84764a2f49af8b09f3
        -----END OpenVPN Static key V1-----
        </tls-auth>

        second certificate/config:

        <ca>
        -----BEGIN CERTIFICATE-----
        MIIEGDCCAwCgAwIBAgIBADANBgkqhkiG9w0BAQsFADBmMRQwEgYDVQQDEwtpbnRl


        QMRXNTrZoal+i87Bti6GWPZgW95Dl7dGDwc6snGJns9J/3zi9wpH9Wy8fKU=
        -----END CERTIFICATE-----
        </ca>
        <cert>
        -----BEGIN CERTIFICATE-----
        MIIEbzCCA1egAwIBAgIBDTANBgkqhkiG9w0BAQsFADBmMRQwEgYDVQQDEwtpbnRl


        4YPVFi4paguoTRtLyeYIi87tDBwEB8qFYiOt49kQrOsk9sQ=
        -----END CERTIFICATE-----
        </cert>
        <key>
        -----BEGIN PRIVATE KEY-----
        MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDfZl3VmoMOmJ12


        Ly9EEWKEEMzjEgsgZC3H6RD3SpRZQR730J0UowEIIWikO+9UHVjAkx58xZRxre7Q
        4UPgcNgIUxJQ5SsjGjGfErKm
        -----END PRIVATE KEY-----
        </key>
        key-direction 1
        <tls-auth>

        2048 bit OpenVPN static key

        -----BEGIN OpenVPN Static key V1-----
        48bfe7c65592025001a1e271e2b90ae7


        3a0024bbd063aa84764a2f49af8b09f3
        -----END OpenVPN Static key V1-----
        </tls-auth>

        1 Reply Last reply Reply Quote 0
        • RicoR
          Rico LAYER 8 Rebel Alliance
          last edited by

          Share your OpenVPN settings and Firewall Rules (screenshots).

          -Rico

          1 Reply Last reply Reply Quote 0
          • A
            artware
            last edited by artware

            0_1551439994748_15eaeff9-7b39-4720-b1bc-71c68b357976-image.png
            0_1551440037341_3c3e1c89-10bb-432e-98bf-6c76901cf2ba-image.png
            0_1551440070576_c58d3318-68d2-4876-b078-7fb5ad7882ea-image.png
            0_1551440114206_c87de803-c417-48c6-84b9-79b12090dca6-image.png
            0_1551440426439_8c46042e-d7e7-41d5-bd99-4c1e7a10e531-image.png
            0_1551440482064_7be82e0f-b8e2-4eb2-a071-adfad5c770de-image.png
            0_1551440530803_aaa65b16-b1da-4e3d-9b81-fc89ab642362-image.png

            1 Reply Last reply Reply Quote 0
            • A
              artware
              last edited by artware

              Cannot be from Firewall, first user working ok.
              From log:
              NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
              WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.

              Certificate are different, from where this problem?

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

                @artware said in Only first IP connected have acces to network:

                Certificate are different

                In that case, you could switch to :
                0_1551452942045_3f385396-4483-40f0-a99b-7a9e484c020a-image.png

                De-select Duplicate Connection.

                Firewall rules ?

                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.