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

    Unable to create or save OpenVPN client

    Scheduled Pinned Locked Moved OpenVPN
    10 Posts 3 Posters 2.0k 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.
    • N Offline
      nib01
      last edited by

      I've recently upgraded my internet service prior to this everything was running completely fine with my openvpn but during upgrade process I was not able to access my pfsense router so I then decided to do factory reset without backing up my configuration I had to start from scratch again.

      I am having a problem creating open vpn client after inputting all those values and hit Save, but every time I hit save nothing came up on the list.

      And, I don't have this issue before.

      Current Base System
      2.3.2_1

      Create OpenVPN Client

      - Click "VPN"
          - Click "OpenVPN"
          - Click the "Client" tab
          - Click "add client" (icon is a "+" symbol on a small lined sheet of paper)
           - "Protocol" = "UDP"
          - "Device Mode" = "tun"
          - "Interface" = "WAN"
          - "Local Port" = (leave blank)

      Choose a server for "Server host or address" form the TG list here… My VPN Servers

      - "Server host or address" = "east.usa.torguardvpnaccess.com"
          - "Server Port" = "443"
          - "Proxy host or address" = (leave blank)
          - "Proxy port" = (leave blank)
          - "Proxy authentication extra options" = none
          - "Server host name resolution" = [check] "Infinitely resolve server"
          - "Description" = "TG OpenVPN"
          - "TLS Authentication" = [uncheck] "Enable authentication of TLS packets."
          - "Peer Certificate Authority" = "TG-CA"
      Configure as follows…
          - "Disabled" = [unchecked]
          - "Server Mode" = "Peer To Peer (SSL/TLS)"

      - "Client Certificate" = "webConfigurator default *In use"
          - "Encryption algorithm" = "BF-CBC (128-bit)"
          - "Auth Digest Algorithm" = "SHA1 (160-nit)"
          - "Hardware Crypto" = "No Hardware Crypto Acceleration"
          - "IPv4 Tunnel Network" = (leave blank)
          - "IPv6 Tunnel Network" = (leave blank)
          - "IPv4 Remote Network/s" = (leave blank)
          - "IPv6 Remote Network/s" = (leave blank)
          - "Limit outgoing bandwidth" = (leave blank)
          - "Compression" = choose "Enabled with Adaptive Compression"
          - "Type-of-Service" = [unchecked]
          - "Disable IPv6" [check] "Don't forward IPv6 traffic."
          - "Don't pull routes" = [unchecked]
          - "Don't add/remove routes" = [unchecked]
          - For "Advanced" type the following in the box…
              auth-user-pass /etc/openvpn-passwd.txt;
              verb 5;
              remote-cert-tls server
          - "Verbosity level" = default
      Now click "Save"

      pfsense_vpn_openVPN.png
      pfsense_vpn_openVPN.png_thumb

      1 Reply Last reply Reply Quote 0
      • N Offline
        nib01
        last edited by

        Anyone??

        1 Reply Last reply Reply Quote 0
        • johnpozJ Offline
          johnpoz LAYER 8 Global Moderator
          last edited by

          where are you trying to create a client connection too?

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • A Offline
            AndyC
            last edited by

            @nib01:

            I am having a problem creating open vpn client after inputting all those values and hit Save, but every time I hit save nothing came up on the list.

            Which list would that be?
            Also, for TorGuard, "Client Certificate" should be set to "None (Username and password required)"

            1 Reply Last reply Reply Quote 0
            • johnpozJ Offline
              johnpoz LAYER 8 Global Moderator
              last edited by

              "- "Peer Certificate Authority" = "TG-CA""

              Did you install this CA?  You can pretty much put gibberish into a client settings and it will save..  So confused to its not saving, or its not working?  Did it give you an error about something.  If so then no it will not "save" the client..

              vpnclient.jpg
              vpnclient.jpg_thumb

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • N Offline
                nib01
                last edited by

                @AndyC:

                Which list would that be?
                Also, for TorGuard, "Client Certificate" should be set to "None (Username and password required)"

                If I am going to select this option it requires to enter a username and password which is I don't have it.

                1 Reply Last reply Reply Quote 0
                • N Offline
                  nib01
                  last edited by

                  @johnpoz:

                  "- "Peer Certificate Authority" = "TG-CA""

                  Did you install this CA?  You can pretty much put gibberish into a client settings and it will save..  So confused to its not saving, or its not working?  Did it give you an error about something.  If so then no it will not "save" the client..

                  Yes, CA has already been installed. I've tried to put anything into clients setting, still not saving no matter what value I put in there. so weird because everything it was working as it should before. Also no error message would appear whatsoever after I hit save.

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ Offline
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    So my guess is is you have some issue where your not getting an error but something is not right so it does not save.

                    "it requires to enter a username and password which is I don't have it."

                    How is it you don't have a username and password..  The instructions on the torguard site clearly show this being part of the setup
                    https://torguard.net/knowledgebase.php?action=displayarticle&id=208
                    How to Setup TorGuard VPN on pFSense (Newer build)

                    echo "YOUR_TG_USERNAME" > /etc/openvpn-passwd.txt; echo "YOUR_TG_PASSWORD" >> /etc/openvpn-passwd.txt

                    How is it you could be using torguard without a username and password?  Is not a FREE service..  So pretty sure you have to have a login and password to their site, etc.

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      nib01
                      last edited by

                      @johnpoz:

                      So my guess is is you have some issue where your not getting an error but something is not right so it does not save.

                      "it requires to enter a username and password which is I don't have it."

                      How is it you don't have a username and password..  The instructions on the torguard site clearly show this being part of the setup
                      https://torguard.net/knowledgebase.php?action=displayarticle&id=208
                      How to Setup TorGuard VPN on pFSense (Newer build)

                      echo "YOUR_TG_USERNAME" > /etc/openvpn-passwd.txt; echo "YOUR_TG_PASSWORD" >> /etc/openvpn-passwd.txt

                      How is it you could be using torguard without a username and password?  Is not a FREE service..  So pretty sure you have to have a login and password to their site, etc.

                      I was able to get this done before even without a password, anyways still no luck when added this –>>  echo "YOUR_TG_USERNAME" > /etc/openvpn-passwd.txt; echo "YOUR_TG_PASSWORD" >> /etc/openvpn-passwd.txt

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ Offline
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        Yeah because those instructions are no longer valid.. Put in your username and password..  The username and password can be put in the gui now.

                        I was just showing them because you have a username and password to auth with, etc. When you were saying you didn't have any..

                        PM me your username and password for torguard and I will walk through a setup giving you pictures, etc.  I would do this on my own if they had a free trail, but don't really feel like giving them my cc.. To be honest not really a big fan of any of these vpn sites.  I just run my own off vps I have all over the place.    Once I am done you can change your username and password, etc.

                        Been here a long time, don't think I am going to try and do anything or steal your vpn account ;)  Just trying to help.. And sure clear instructions for 2.3.2 will be useful for the other users here as well.

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

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