docs: kernel version explanation

This commit is contained in:
mzz2017 2023-02-01 00:34:39 +08:00
parent 35540f55a9
commit 9cdee19b57
2 changed files with 22 additions and 0 deletions

View File

@ -8,6 +8,26 @@ In order to improve the traffic diversion performance as much as possible, dae r
As a successor of [v2rayA](https://github.com/v2rayA/v2rayA), dae abandoned v2ray-core to meet the needs of users more freely. In the initial conception, dae will serve soft router users first, and may also serve desktop users later.
## Linux Kernel Version Requirement
Use `uname -r` to check the kernel version on your machine.
**Bind to LAN: >= 5.2**
You need bind dae to LAN interface, if you want to provide network service for LAN as an intermediate device.
This feature requires the kernel version of machine on which dae install >= 5.2.
Note that if you bind dae to LAN only, dae only provide network service for traffic from LAN, and not impact local programs.
**Bind to WAN: >= 5.5**
You need bind dae to WAN interface, if you want dae to provide network service for local programs.
This feature requires kernel version of the machine >= 5.5.
Note that if you bind dae to WAN only, dae only provide network service for local programs and not impact traffic coming in from other interfaces.
## Usage
Build:

View File

@ -14,10 +14,12 @@ global {
# The LAN interface to bind.
# Use it if you only want to proxy LAN instead of localhost.
# Now only support one interface.
# Require Linux kernel >= 5.2
# lan_interface: docker0
# The WAN interface to bind.
# Use it if you want to proxy localhost.
# Require Linux kernel >= 5.5
wan_interface: wlp5s0
}