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

    OpenVPN Status from Console.

    Scheduled Pinned Locked Moved General pfSense Questions
    openvpnstatusconsole
    3 Posts 2 Posters 655 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.
    • R
      ramses.sevilla
      last edited by

      Hi everyone,

      I need know if there is any way to obtain the same data information from Command Console than from GUI (Status > OpenVPN).

      I mean Remote IP, Connect Date, Data Sent, Data Received,...

      Regards,

      Ramsés

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        You probably want to start here:

        https://openvpn.net/community-resources/management-interface/

        The management socket files are in /var/etc/openvpn/\(server|client\)X.sock

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • R
          ramses.sevilla
          last edited by ramses.sevilla

          @Derelict, thanks so much by your answer.

          I have saw the information of link and I don't see it clearly. I am not a expert programmer.

          I only want show by Console, or via SSH, in text mode, the same information thar appears in the OpenVPN Status GUI page and be able to capture the output text.

          Do you know where can I found examples to do something similar to this?

          Regards,

          Ramsés

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