angristan / wireguard-install

WireGuard VPN installer for Linux servers
https://stanislas.blog/2019/01/how-to-setup-vpn-server-wireguard-nat-ipv6/
MIT License
7.58k stars 1.27k forks source link

One Wiergard config for all users #315

Closed someoneIG closed 1 year ago

someoneIG commented 2 years ago

Is only one person allowed to connect to a Wiergard config or is there no restriction?

Sinicyn78 commented 2 years ago

For each client, you need to create a new account. Otherwise, it will slow down a lot.

someoneIG commented 2 years ago

For each client, you need to create a new account. Otherwise, it will slow down a lot.

How can I change it? I want to use one config for multiple users

someoneIG commented 2 years ago

Can someone help me?

Sirherobrine23 commented 2 years ago

I know it would be nice to have a configuration for several devices, but that doesn't work, you will have to create a new pair of keys and ips to dedicate to the device. Wireguard cannot create just one key pair for more than one device, and it cannot manage multiple devices in the same key pair as it links its keys and its ip address to only that device.