You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've had a few cases where the peer endpoint goes missing after a reboot with no internet.
This was very problematic because the missing endpoint setting propagated to the boot configuration without me knowing.
This seems similar to GH-124.
Using set interfaces wireguard wg0 route-allowed-ips false was mentioned at GH-124 but didn't help.
I ended up doing a cron script that checks if the endpoint is missing from the active configuration and adds it back.
Thanks.
Configuration and log output
set interfaces wireguard wg0 address 10.99.1.2/32
set interfaces wireguard wg0 mtu 1420
set interfaces wireguard wg0 peer X5uDAzbQ/sm0gmYPSkQVzRYG3A4pUExZbZKTEt+BrnA= allowed-ips 10.99.0.0/16
set interfaces wireguard wg0 peer X5uDAzbQ/sm0gmYPSkQVzRYG3A4pUExZbZKTEt+BrnA= endpoint '<redacted>:20525'set interfaces wireguard wg0 peer X5uDAzbQ/sm0gmYPSkQVzRYG3A4pUExZbZKTEt+BrnA= persistent-keepalive 10
set interfaces wireguard wg0 private-key <redacted>set interfaces wireguard wg0 route-allowed-ips true
The text was updated successfully, but these errors were encountered:
The same thing happens to me, although the configuration is saved on reboot, it is lost.
The only thing that is kept are the rules. The rest, the interface and the peers, are lost after the reboot.
Package version
1.0.20220627-1
Firmware version
2.0.9-hotfix.7
Device
EdgeRouter X (SFP, 10 X, EP-R6) - e50
Issue description
Hi,
I've had a few cases where the peer endpoint goes missing after a reboot with no internet.
This was very problematic because the missing endpoint setting propagated to the boot configuration without me knowing.
This seems similar to GH-124.
Using
set interfaces wireguard wg0 route-allowed-ips false
was mentioned at GH-124 but didn't help.I ended up doing a cron script that checks if the endpoint is missing from the active configuration and adds it back.
Thanks.
Configuration and log output
The text was updated successfully, but these errors were encountered: