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

    OpenVPN client config

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 281 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.
    • E
      EricAiken
      last edited by

      I'm new to PFSense and OpenVPN.

      I'm able to get everything to work via the wizzard, but have a problem with the client setup and client export.

      My problem:

      Version: pfsense 2.7.2-release(AMD64)
      openvpn-client-export 1.9.2

      In short the wizard didn't create any client configs, yet the client export wizard shows clients and provides opvn files to download

      if I manually create clients, I can't create RAS clients, only peer-to-peer. No drop down, there are no open files to download in the client export.

      I can't reconcile this behavior and can't create specific client config (with the ability to have the client exporter create config files.

      Now that I have "A" config file, I could certainly manually update it to my needs.

      I don't believe this is expected behavior, or I'm doing something wrong.

      I appreciate any feedback

      V GertjanG 2 Replies Last reply Reply Quote 1
      • V
        viragomann @EricAiken
        last edited by

        @EricAiken
        I assume, you have set up an OpenVPN access server with TLS (+ user auth) for your road warriors.
        So you or the wizard might have created a certificate authority and issued a server certificate from it.

        Then you have to crate users and in the user configuration create a TLS certificate for each from the same CA, the server is using.
        Did you do this already?

        If you're running multiple servers, you can select the respective server in the client export utility at the top.
        If you select the proper server, you don't see any users?

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

          @EricAiken

          As said above :
          You have to create the RAS VPN users.
          Remember to check :

          9d4b8c73-6551-48da-b380-9639a9ecc353-image.png

          and use the Open VPN CA here and give it a descriptive name.

          These uses will get listed here :

          1d9579e9-2802-4034-85d5-39964c87d7b6-image.png

          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
          • E
            EricAiken
            last edited by

            That's what I did (at least I think).

            Created a CA
            Created a server cert
            Created a RAS user. (using that CA)
            Created a openvpn server. using the CA and the server cert

            docs get lite here. Because I didn't see the above client downloads, I read I needed to create a openvpn client first.

            Tried creating a client, but only get peer-to-peer options.

            however when I create the server via the wizard things work and I get the client downloads, but no client configs.

            I wanted to add/change some features to the config files that are offered in the client config page. Like I said I'm confident I can manually add them to the config file(s), but being new it would fast-track syntax. Things like changing the server name/ip from an ip to a dns name, port number, route options,

            I clearly don't have a good understanding of how these pieces fit together. I have something working (via the wizard and files I can modify), would just like to understand why I can't recreate what the wizard is accomplishing manually.

            V 1 Reply Last reply Reply Quote 0
            • V
              viragomann @EricAiken
              last edited by

              @EricAiken
              Not really clear, what you want to achieve.

              Created a CA
              Created a server cert
              Created a RAS user. (using that CA)
              Created a openvpn server. using the CA and the server cert

              After you did this properly, the clients, who have assigned certificate issued by this CA should appear in the client export. If they don't recheck the certs and server settings.

              Tried creating a client, but only get peer-to-peer options.

              OpenVPN Clients on pfSense are ever meant for peer-to-peer connections and have nothing to do with the client export. The later is only for users who are entitled for a remote access servers.

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