micahmo / WgServerforWindows

Wg Server for Windows (WS4W) is a desktop application that allows running and managing a WireGuard server endpoint on Windows
MIT License
892 stars 86 forks source link

Client Connection #159

Open Toffelojiopj opened 5 months ago

Toffelojiopj commented 5 months ago

Hi, first …well done ;)

it would be very cool if i could see the clients they are connected or something like „last seen“

micahmo commented 5 months ago

Hi @Toffelojiopj!

There are two ways to do what you're suggesting. First of all, if you open the Client Configurations screen, each client has a "Latest Handshake" field. Second, if you View Server Status, you will see some info about each client, and you can see the latest handshake time there, too, as well as the amount of data transferred for the given session.

Unfortunately, WireGuard doesn't really report if a client is currently "connected", but see the handshake time and the data transfer gives you some clues.

Does that help?