Where do i insert the password of the vpn ?



  • 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



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



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



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



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



  • @albgen:

    any plan to implement that on pfsense ::)

    No, start a bounty if you really want it.



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


Locked