Overview
eBPF redirect to TUN is an advanced Linux-oriented feature that can redirect selected interface traffic into the TUN path. It is designed for users who understand system routing and kernel support.
Requirements
This feature depends on kernel capability, interface selection and elevated permissions. It should not be treated as a beginner setting or a general replacement for normal system proxy mode.
Configuration notes
Keep the configuration small: specify the intended network interface, avoid overlapping auto-route settings, and test with simple traffic before relying on it for all applications.
Support Checks
If traffic disappears, disable the eBPF section first. Then verify interface names, route tables, DNS behavior and whether another firewall or VPN tool is already intercepting packets.
Related pages
Reference examples
These examples mirror the corresponding Chinese documentation page so the English page carries the same configuration material.
ebpf:
redirect-to-tun:
- eth0