GL.iNet Technical Support support@gl-inet.com
To:
kasitrol
Mon, Aug 23 at 1:56 AM
Hi kasitrol,
I never use keepsolid wireguard. Can you check if the router’s time is correct? Go to more settings->time zone. If the router’s time is different from your pc pls fix it. If the router has Internet, it should be able to sync with time server. But you may need to disconnect wireguard first to achieve this.
You can also remove the wireguard config from the router and set up again. Some vpn service providers has limitations in total number of config keys.
Alfie Zhao
I am working on a permanent solution from another source who tells me:
WireGuard basics > Time synchronization:
Time synchronization
WireGuard is time sensitive and can refuse to pass traffic if the peer’s clock is out of sync. It’s recommended to rely on NTP for all peers. The issue could be caused by incorrect NTP configuration, or race conditions between netifd and sysntpd services, specifically when RTC is missing. Setting time forward on the client side can work around the problem.
Web interface instructions
-
Installing packages
Navigate to LuCI → System → Software and install the packages luci-proto-wireguard and luci-app-wireguard to manage WireGuard using LuCI.
-
Generating keys
Generate a key pair of private and public keys.
wg genkey | tee wg.key | wg pubkey > wg.pub
Use the wg.key file to configure the WireGuard interface on this router.
Use the wg.pub file to configure peers that will connect to this router through the WireGuard VPN.
3. Restarting services
Navigate to LuCI → System → Startup → Initscripts and click to network → Restart.
-
Setting up network
To create a new WireGuard interface go to LuCI → Network → Interfaces → Add new interface… and select WireGuard VPN from the Protocol dropdown menu.
-
Monitoring status
An alternative method:
Disable gateway redirection for the router itself.
Set up PBR 3 to route LAN traffic to the VPN.
Perhaps you don’t understand, but syncing time once in not enough.
If your router is missing RTC, then time will desync sooner or later depending on the hardware.
And this can lock the VPN connection until you manually set client time forward or restart the server.
That’s why you need to implement one of the workarounds mentioned above.
I will get back to you when I know more. I hope this helps.
Kasitrol