1
0

Docs(ebpf): add tailscaled conflict (#2754)

This commit is contained in:
Birkhoff Lee 2023-05-20 22:51:46 +08:00 committed by GitHub
parent e02d556bf4
commit 75c0254703
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,13 +5,13 @@ sidebarOrder: 3
# eBPF Redirect to TUN # eBPF Redirect to TUN
eBPF redirect to TUN is a feature that intercepts all network traffic on a specific network interface and redirects it to the TUN interface. 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.
::: warning ::: warning
This feature conflicts with `tun.auto-route`. This feature conflicts with `tun.auto-route`.
::: :::
It requires [kernel support](https://github.com/iovisor/bcc/blob/master/INSTALL.md#kernel-configuration) and is less tested, however it would bring better performance compared to `tun.auto-redir` and `tun.auto-route`. 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.
## Configuration ## Configuration
@ -20,3 +20,7 @@ ebpf:
redirect-to-tun: redirect-to-tun:
- eth0 - eth0
``` ```
## Known Issues
- This feature breaks Tailscaled, so you should use `tun.auto-route` instead.