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

    pfSense OpenVPN Client Export Problem

    Scheduled Pinned Locked Moved OpenVPN
    16 Posts 3 Posters 1.4k 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
      limez17
      last edited by

      Hi @viktor_g,

      I'm using OpenVPN version:
      71ae6a37-2a2e-4a6a-93f3-95e486687724-image.png

      Here is the error when trying to run:
      b74669ff-dde0-484a-8a6d-0b9a61552d30-image.png

      This only happened after re-installing Client Export.

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

        @limez17 said in pfSense OpenVPN Client Export Problem:

        The only problem is, when I exported OpenVPN installer+config for Windows, the installer is not included in the download only 3 configuration files.

        You mean that these

        df3055f3-3405-451f-b2cc-3b8d0df3e4e4-image.png

        will not include the executable to be used on a client PC ?
        That's pretty broken then.

        udp4 is explained here https://community.openvpn.net/openvpn/wiki/GettingStartedwithOVPN

        If "udp4" isn't accepted on your Ubuntu, then the OpenVPN client it's using is outdated (doesn't understand udp4 or udp6 etc) ?

        aha : you confirmed : 2.3.18 -> as the manual states :

        It is also possible to connect using IPv6. In the current 2.3 releases, you will need to replace udp, tcp-client or tcp-server with udp6, tcp6-client or tcp6-server as the argument to the --proto option. From the OpenVPN 2.4, OpenVPN will try both IPv6 and IPv4 when just using udp/tcp-client/tcp-server. To enforce only IPv4-only, you need to use udp4, tcp4-client or tcp4-server; and similar to enforce IPv6-only with udp6/tcp6-client/tcp6-server.
        

        udp4 is a OpenVPN 2.4 thing.

        Just edit the opvn config file and remove the "4". And while your at it, do a login test, and resolve // clean up any warnings = red error messages to make things look nice.
        The end user will always see the initial connecting-log with 'black' text (pure chinese for most users - very important for you when debugging), and the day a red line will pop up, he'll know something is wrong without understanding what the red line - error or warning - means.

        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
        • L
          limez17
          last edited by

          Hi @ger912

          Thank you for replying.
          I already resolved that issue by reinstalling Client Export package.

          The problem now is this:
          6909275f-b979-48b2-a9bb-f758f097c589-image.png

          This should be like this:
          be5ce262-1696-4c35-9622-af229dcb753a-image.png

          Thank you.

          1 Reply Last reply Reply Quote 0
          • viktor_gV
            viktor_g Netgate @limez17
            last edited by

            @limez17 said in pfSense OpenVPN Client Export Problem:

            Hi @viktor_g,

            I'm using OpenVPN version:
            71ae6a37-2a2e-4a6a-93f3-95e486687724-image.png

            Here is the error when trying to run:
            b74669ff-dde0-484a-8a6d-0b9a61552d30-image.png

            This only happened after re-installing Client Export.

            Please update OpenVPN on Lubuntu to the latest version (2.4.x)

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

              Or upgrade the Client OpenVPN on your Ubuntu from 2.3.18 to to the 2.4.x version so it understands "udp4".

              edit : beaten by @viktor_g

              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
              • L
                limez17 @viktor_g
                last edited by

                @viktor_g @Gertjan

                I already checked this box:
                1d798854-d82f-4656-ba3d-382079c81961-image.png

                So it will not include OpenVPN2.4 settings, backward compatible with client running older older version of Ubuntu/Lubuntu

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

                  Might work also.

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

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    limez17 @Gertjan
                    last edited by limez17

                    @Gertjan This is working before. I don't know why it doesn't work now.
                    How to install older version of Client Export? I got another box which have Client Export version 1.4.19_1.

                    The pfSense box i'm having problem is running version 1.4.21 of Client Export, I think the version is the problem.

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

                      1.4.21 included the newest 2.4.x OpenVPN client executables for Windows.

                      Maybe the downgrading to 2.3.x OpenVPN clients needs some manual assistance ?
                      So what ? Not a big deal. That the price you pay if you do not want to upgrade the OpenVPN client on the client device.
                      As said, upgrade to OpenVPN 2.4.x on the client, and problems are over.

                      What might be true, is that if you select

                      0816785b-818b-4bf4-bdb0-580797be621b-image.png

                      you should not wind up with things like

                      remote your-vpn-server.pfsense 1194 udp4
                      

                      because "udp4" is a OpenVPN 2.4.x thing.

                      conflicts with https://community.openvpn.net/openvpn/wiki/GettingStartedwithOVPN ?

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

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        limez17 @Gertjan
                        last edited by

                        @Gertjan I'm using pfSese 2.4.4.p1 installed version of Client Export way back is 1.4.21 which is working smoothly for me when i'm exporting config.

                        Now that i've installed the latest version of Client Export(1.4.19_1), this is not working for me anymore:
                        b33292d5-bae8-4078-ae4f-354a9ed100ba-image.png

                        I'm trying to update my OpenVPN client now via terminal but still latest version is 2.3.10

                        Im trying to install openvpn-as-bundled-clients-8.deb on my Lubuntu, still figuring on how it should work.

                        viktor_gV 1 Reply Last reply Reply Quote 0
                        • viktor_gV
                          viktor_g Netgate @limez17
                          last edited by

                          @limez17
                          PR fix added https://redmine.pfsense.org/issues/10369#note-5
                          please wait for the OpenVPN Client Export update

                          L 1 Reply Last reply Reply Quote 0
                          • L
                            limez17 @viktor_g
                            last edited by

                            @viktor_g noted, thank you so much!

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

                              Aha, the issue is already known for 3 weeks or so.

                              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
                              • L
                                limez17
                                last edited by

                                Hi!

                                Issue was resolved now. OpenVPN Client Export package 1.4.23 has been release:
                                ae8f39e5-de52-4ae0-8fb4-0754b45b0e8d-image.png

                                Already updated on my pfSense box. UDP4 no more, its just UDP now:

                                34b392dc-632e-4220-8b03-1667d9a4b54d-image.png

                                Thank you so much to those who work-out the fix on this bug.
                                Cheers!

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