Bug #10407
closedL2TP static route not re-added after connection down/up
100%
Description
Create L2TP VPN
Create a default gw to the VPN subnet
Create the static route
- route is added to diagnostics -> routes
Disconnect from VPN - route is deleted from diagnostics -> routes
Reconnect to VPN - route is not re-added
Disable the static route
Enable the static route - route is added to diagnostics -> routes
The static route should be automatically re-added when the L2TP interface is up.
I'm not sure if this is an intended behaviour, I googled it, and I didn't found anything related to this - so I assume that this is a bug.
Updated by Federico Chiaravalli over 4 years ago
Better explanation on Reddit: https://www.reddit.com/r/PFSENSE/comments/dt6181/static_route_problem_with_l2tpipsec_vpn/
Updated by Jim Pingle over 4 years ago
- Category set to Interfaces
- Status changed from New to Needs Patch
- Start date deleted (
04/01/2020)
The L2TP WAN-type interface design is not designed to be used with VPNs. It may work, but not intentionally. It is designed to be used for ISPs which require it for WAN connectivity.
Though the routing behavior as stated is undesirable, I don't see us putting internal resources toward supporting this use case.
If someone wants to submit a PR to correct the behavior, we can certainly consider it.
Updated by Viktor Gurov about 4 years ago
- Affected Version set to 2.5.0
Updated by Jim Pingle about 4 years ago
- Status changed from Needs Patch to Pull Request Review
- Target version set to 2.5.0
- Affected Version deleted (
2.5.0)
Updated by Renato Botelho about 4 years ago
- Status changed from Pull Request Review to Feedback
- Assignee set to Viktor Gurov
PR has been merged. Thanks!
Updated by Viktor Gurov about 4 years ago
- % Done changed from 0 to 100
Applied in changeset 05af32629d9259817070a72f388a7d4c4835d76d.
Updated by Jim Pingle about 4 years ago
- Category changed from Interfaces to L2TP
Updated by Alhusein Zawi about 4 years ago
route is not deleted if reconnecting.
Static route will be deleted if L2TP interface is down.
Static route will be added if L2TP interface is up/reconnected.
2.5.0.a.20201118.1850
Updated by Alhusein Zawi about 4 years ago
- Status changed from Feedback to Resolved