eBPF 重新導向至 TUN 會攔截指定網路介面上的所有流量,並將其重新導向至 TUN 介面。此功能需要核心支援。
警告
此功能與 tun.auto-route 衝突。
雖然其效能通常優於 tun.auto-redir 與 tun.auto-route,但成熟度仍不如 auto-route,因此請謹慎使用。
設定
yaml
ebpf:
redirect-to-tun:
- eth0已知問題
- 此功能與 Tailscaled 衝突,因此應改用
tun.auto-route。
