micahmo / WgServerforWindows

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

how to prevent multiple access with same user connection ? #111

Open haririan opened 1 year ago

haririan commented 1 year ago

It works wonderfully but when I create new user connection he/she can share it to everyone is there any way to prevent users to connect at same time with single account ?

micahmo commented 1 year ago

Hi @haririan,

Unfortunately, I'm not aware of any such functionality in WireGuard. While its authentication mechanism is very secure (with public, private, and preshared keys), it is not very sophisticated in terms of user management. As you said, anyone with the keys can gain access.

You might be more interested in something like Tailscale, a more sophisticated VPN/P2P service built on top of WireGuard.

I'd be curious to see if anyone else in the community has come up with a way to do this.