AdguardTeam / AdGuardVPNCLI

AdGuard VPN command-line version
https://adguard-vpn.com/
68 stars 1 forks source link

Auto-detect which routing table should be used on Linux #43

Closed sfionov closed 1 month ago

sfionov commented 3 months ago

Docker does not allow ip rule to be configured even with --cap-add=NET_ADMIN --device /dev/net/tun.

In auto mode, adguardvpn-cli should automatically detect capabilities, and use main routing table when ip rule is not available.

As a workaround, there will be SCRIPT routing mode in 1.1 nightlies, where ip rule is not used.