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

    How to view the OVPN server.conf via shell?

    OpenVPN
    3
    3
    5.1k
    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
      epaphus
      last edited by

      Hello,
      I would like to peak at the OpenVPN server configuration read by the daemon as I make changes on it via the PFsense gui. Where is it at?

      Iam expecting this to be the config handled to the daemon, not the xml.

      Thanks

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

        Login via Terminal or SSH…

        vi /var/etc/openvpn_server0.conf
        

        Greetz
        Mircsicz

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

          If you just want to view it, use "cat" not "vi".

          And with cat, you can also do that from the GUI under Diagnostics > Command

          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.