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.51k stars 1.26k forks source link

Stops working in about a day, works again if reinstalled #428

Open pystrats opened 1 year ago

pystrats commented 1 year ago

This happens with certain hosting providers, but not the others. Clients connect successfully to the server first, for about a day, but then stop. Removing old clients' configurations and adding new clients doesn't help. If you uninstall Wireguard and then install it again following ./wireguard-install.sh prompts, all works again. Any ideas why something like that can happen and how to fix it? Thanks.

HenryCooper86 commented 1 year ago

Similar issue, on AWS's Lightsail

pystrats commented 1 year ago

Yes, this happens on all AWS EC2 instances for me as well. And I encountered the same issue with other, smaller hosting providers.

turbozapekanka commented 1 year ago

I noticed the same with OCI hosted VMs, and only for some clients. No handshake and no internet connectivity.

g40 commented 1 year ago

Anyone got any more data for this? I have exactly the same problem on a Ubuntu Linode.

sameeraksc commented 1 year ago

we are also having this for only some clients. no internet connectivity for them. when I restarted the wire guard, its started to work for them.

g40 commented 9 months ago

I created a Nano Linode and installed Ubuntu 23.04 as a test. Wireguard has run consistently for 73+ days. I am none the wiser.