Project

General

Profile

Actions

Bug #13153

closed

Static routes bound to WireGuard interfaces are not restored after down / up events

Added by → luckman212 almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
WireGuard
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
22.05
Affected Architecture:

Description

This was tested on today's 22.05 snap: 22.05.b.20220512.0600 using WG package 0.1.6_1 / kmod-0.0.20211105_1 
repro:
  • set up a S2S WireGuard tunnel as per https://docs.netgate.com/pfsense/en/latest/recipes/wireguard-s2s.html
  • create static route to the far end subnet with the WGx interface selected
  • everything works as expected
  • go to VPN -> WireGuard -> click the "stop" button
  • wait a few moments
  • click the start button
  • confirm tunnel is re-established ("green")
  • route to remote LAN is lost, it has reverted to the default route
  • go to System -> Routing -> Static routes -> click Save
  • route is restored

Probably needs a similar fix to https://redmine.pfsense.org/issues/13099

Actions

Also available in: Atom PDF