github.com/igoogolx/clash@v1.19.8/docs/premium/ebpf.md (about) 1 --- 2 sidebarTitle: "Feature: eBPF Redirect to TUN" 3 sidebarOrder: 3 4 --- 5 6 # eBPF Redirect to TUN 7 8 eBPF redirect to TUN is a feature that intercepts all network traffic on a specific network interface and redirects it to the TUN interface. [Support from your kernel](https://github.com/iovisor/bcc/blob/master/INSTALL.md#kernel-configuration) is required. 9 10 ::: warning 11 This feature conflicts with `tun.auto-route`. 12 ::: 13 14 While it usually brings better performance compared to `tun.auto-redir` and `tun.auto-route`, it's less tested compared to `auto-route`. Therefore, you should proceed with caution. 15 16 ## Configuration 17 18 ```yaml 19 ebpf: 20 redirect-to-tun: 21 - eth0 22 ``` 23 24 ## Known Issues 25 26 - This feature breaks Tailscaled, so you should use `tun.auto-route` instead.