How to get last login report of all users in VPN server

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
csbisht
Posts: 6
Joined: Wed Jun 07, 2023 12:58 pm

How to get last login report of all users in VPN server

Post by csbisht » Wed Jun 14, 2023 2:14 pm

Hi all,
How to get last login report of all users in VPN server. Is there any way to do it in excel or CSV format.

shakibamoshiri
Posts: 288
Joined: Wed Dec 28, 2022 9:10 pm

Re: How to get last login report of all users in VPN server

Post by shakibamoshiri » Wed Jun 14, 2023 2:42 pm

You can use RPC-JSON APi or
you can use vpncmd to see list of users of a hub.
The output reports last login time (UTC) of all users + more

csbisht
Posts: 6
Joined: Wed Jun 07, 2023 12:58 pm

Re: How to get last login report of all users in VPN server

Post by csbisht » Wed Jun 14, 2023 3:07 pm

How can i use it can you share the process of vpncmd to see list of users of a hub or RPC-JSON APi

shakibamoshiri
Posts: 288
Joined: Wed Dec 28, 2022 9:10 pm

Re: How to get last login report of all users in VPN server

Post by shakibamoshiri » Wed Jun 14, 2023 3:26 pm

csbisht wrote:
Wed Jun 14, 2023 3:07 pm
How can i use it can you share the process of vpncmd to see list of users of a hub or RPC-JSON APi
vpncmd

Code: Select all

/path/to/vpncmd localhost:443 /SERVER /HUB:VPN /PASSWORD:*******  /CSV /CMD UserList
RPC-JSON doc
https://github.com/SoftEtherVPN/SoftEth ... pc-clients

Post Reply