hotfix(pmtud): set mss on all VPN routes

- fix behavior for OpenVPN splitting default route in multiple routes
- fix behavior for Wireguard if user specifies AllowedIPs
This commit is contained in:
Quentin McGaw
2026-03-08 23:27:04 +00:00
parent d98afce793
commit 069cde8a85
3 changed files with 34 additions and 23 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ type Firewall interface {
type Routing interface {
VPNLocalGatewayIP(vpnInterface string) (gateway netip.Addr, err error)
VPNRoute(vpnIntf string) (route netlink.Route, err error)
VPNRoutes(vpnIntf string) (route []netlink.Route, err error)
}
type PortForward interface {