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

    How to Store the Password in pfSense Permanently?

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 1.1k 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.
    • J
      joako
      last edited by

      I have a VPN I connect to with pfSense OpenVPN client. It requires a username and password, and that requirement I can not change. How can I store the password in pfSense and have it survive updates? It is very frustrating that I can not upgrade the system flawlessly. It should be an option in the web UI to input the OpenVPN client username + password. If you say disable the password and only use the certificate, what is the point if the certificate is stored in pfSense anyways?

      Currently I have this in the manual configuration:

      auth-user-pass /etc/openvpn-password.txt

      But after an upgrade /etc/openvpn-password.txt is gone.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        That option exists on 2.2 in the OpenVPN client settings.

        On 2.1.x, place your file in /root/ or /conf/ and it should carry over between updates.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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