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
{{ message }}
Repository navigation
Feature: Add configurable interface and route metrics #62
On Linux, RouteMetric maps to the Priority field in netlink routes
Implementation
Changes required in:
tun.go: Add InterfaceMetric and RouteMetric fields to Options
tun_windows.go: Implement interface metric logic for IPv4/IPv6, update route metric
tun_linux.go: Map RouteMetric to Priority field
Backward Compatibility
Fully backward compatible - when both fields are 0 (default), behavior remains unchanged.
Use Case
Users running the same configuration on multiple devices (e.g., desktop and mobile) can now set different routing priorities without maintaining separate config files.
Activity
FIL033 commentedon Feb 6, 2026
@nekohasekai Could you please review this feature request?