OpenVPN Status from Console.
-
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
-
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
-
@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