• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.5k 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 Apr 16, 2020, 3:59 AM

    Hi!

    Good day. Hope you are all doing fine.
    Would like to seek advise on my problem.
    My pfSense was working before, then I've encountered problem. Last resort is to restore from backup config file.
    Now my pfSense if working fine again now. The only problem is, when I exported OpenVPN installer+config for Windows, the installer is not included in the download only 3 configuration files. Managed to resolved it by re-installing OpenVPN Client Export package.

    Now I've encountered another problem. When I'm trying to export an Inline Configuration file for my Lubuntu 16.04(64 bit) PC. The config file have this:
    3710e034-ee09-4ff7-b969-81fab425f162-image.png

    If I exported it to my Lubuntu PC, it will not connect to my OpenVPN. I tried removing the "4":
    96652c4a-776a-452b-8143-b9c0867d780e-image.png 2d6a19bd-154c-4438-9abb-665ec436f5c3-image.png
    It's able to connect to my OpenVPN server.

    I tried removing the OpenVPN Client Export, then install it again. But problem still persist.

    Anyone know how to fix this?

    Thank you in advance!

    G 1 Reply Last reply Apr 16, 2020, 6:29 AM Reply Quote 0
    • V
      viktor_g Netgate
      last edited by Apr 16, 2020, 5:36 AM

      What version of OpenVPN on your Lubuntu?
      Are trying to connect by IP or by hostname to your server?

      Please show connection log.

      This feature appeared about a month ago and works fine:
      https://redmine.pfsense.org/issues/10369

      1 Reply Last reply Reply Quote 0
      • L
        limez17
        last edited by Apr 16, 2020, 6:19 AM

        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.

        V 1 Reply Last reply Apr 16, 2020, 6:43 AM Reply Quote 0
        • G
          Gertjan @limez17
          last edited by Gertjan Apr 16, 2020, 6:34 AM Apr 16, 2020, 6:29 AM

          @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 Apr 16, 2020, 6:34 AM

            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
            • V
              viktor_g Netgate @limez17
              last edited by Apr 16, 2020, 6:43 AM

              @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 Apr 16, 2020, 6:54 AM Reply Quote 0
              • G
                Gertjan
                last edited by Gertjan Apr 16, 2020, 6:44 AM Apr 16, 2020, 6:43 AM

                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 Apr 16, 2020, 6:54 AM

                  @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
                  • G
                    Gertjan
                    last edited by Apr 16, 2020, 6:56 AM

                    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 Apr 16, 2020, 7:02 AM Reply Quote 0
                    • L
                      limez17 @Gertjan
                      last edited by limez17 Apr 16, 2020, 7:05 AM Apr 16, 2020, 7:02 AM

                      @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
                      • G
                        Gertjan
                        last edited by Apr 16, 2020, 7:16 AM

                        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 Apr 16, 2020, 7:45 AM Reply Quote 0
                        • L
                          limez17 @Gertjan
                          last edited by Apr 16, 2020, 7:45 AM

                          @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.

                          V 1 Reply Last reply Apr 16, 2020, 8:17 AM Reply Quote 0
                          • V
                            viktor_g Netgate @limez17
                            last edited by Apr 16, 2020, 8:17 AM

                            @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 Apr 16, 2020, 8:23 AM Reply Quote 0
                            • L
                              limez17 @viktor_g
                              last edited by Apr 16, 2020, 8:23 AM

                              @viktor_g noted, thank you so much!

                              1 Reply Last reply Reply Quote 0
                              • G
                                Gertjan
                                last edited by Apr 16, 2020, 8:25 AM

                                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 May 9, 2020, 5:08 AM

                                  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.
                                    [[user:consent.lead]]
                                    [[user:consent.not_received]]