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

    Where do i insert the password of the vpn ?

    OpenVPN
    4
    7
    3.2k
    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
      albgen
      last edited by

      Hello Everybody  :)
      I have a pfsense box at home and i want to connect it permanently to the OpenVPN of the company that i work for.
      But i cant with pfsense because the VPN  company request a password when you try to connect.
      I think i have to use the custom option but i dont know how.
      How can i do that ?

      thank you

      1 Reply Last reply Reply Quote 0
      • M
        Monoecus
        last edited by

        You should put this key in the "shared key" window of the OpenVPN Client page on your firewall.

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

          @Monoecus:

          You should put this key in the "shared key" window of the OpenVPN Client page on your firewall.

          i cant, because the the connection use certificate + password.
          If i select shared key on pfsense i cant insert the certifcate and keys.

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            I dont think this is possible.
            You would need to automate the input of the user-name and the password.
            Maybe you could do that with a script but that's out of my league.

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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

              @GruensFroeschli:

              I dont think this is possible.
              You would need to automate the input of the user-name and the password.
              Maybe you could do that with a script but that's out of my league.

              any plan to implement that on pfsense ::)
              thank you

              1 Reply Last reply Reply Quote 0
              • S
                sullrich
                last edited by

                @albgen:

                any plan to implement that on pfsense ::)

                No, start a bounty if you really want it.

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

                  I have discovered that the password is needed for the decryption of the private key(my private key, the file with .key extension).
                  So i have removed the password with a tool. Now, using OpenVPN it does not request a password to connect.
                  so, i'm trying to configure pfsense but it does not work !

                  On the logs of pfsense i see this

                  any idea ?
                  thank you

                  PS:I have noticed that my .key file begin and end with –--BEGIN PRIVATE KEY-----,
                  instead pfsense need a key with ----BEGIN RSA PRIVATE KEY----.
                  Trying to copy and paste my key it does not work, so i have added the word RSA.

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