Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Wireguard Peer Missing Routes Randomly
« previous
next »
Print
Pages: [
1
]
Author
Topic: Wireguard Peer Missing Routes Randomly (Read 433 times)
rmundel
Newbie
Posts: 4
Karma: 0
Wireguard Peer Missing Routes Randomly
«
on:
May 07, 2024, 03:22:58 pm »
Hey guys, maybe someone can shed some light on my current issue.
I'm using on version 24.1.6 and have several Wireguard peers that lose the routes randomly, sometime takes 1 minute, sometime take a couple hours (I never used WG before 24.1.6 in this scenario).
WG logs don´t give me any output.
Default gateway switching is on with 4 WAN interfaces, but all WG connections are using only one IP address.
The only thing that MAYBE seems related to me is that any gateway status change for packet loss on ANY gateway, makes the routes disappear from the routing table.
Handshake is working fine.
Restarting the service through the dashboard makes everthing working again.
Disabling and re-enabling the peers with issues makes working aswel.
Thanks!
Logged
rmundel
Newbie
Posts: 4
Karma: 0
Re: Wireguard Peer Missing Routes Randomly
«
Reply #1 on:
May 08, 2024, 03:09:09 pm »
I found out the issue.
If any change in the routing table occurs (manually or when any gateway monitor acts), any aditional routes created by Wireguard that is not within the tunnel subnet itself vanishes.
I solved the issue creating an interface, gateway and static routes for the wireguard instance.
Is this a expected behaviour?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Wireguard Peer Missing Routes Randomly