mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-05-14 18:09:05 +00:00
Proxy: Add TUN inbound for Windows & Linux, including Android (#5464)
* Proxy: Implement tun raw network interface inbound support for Linux * Proxy: Tun. Include "android" as build condition for build of tun_default implementation * Proxy: Tun. Add .Close() cleanup calls to Handler.Init() where needed * Proxy: Add Tun for Android * Proxy: Tun. Implement Windows support --------- Co-authored-by: yuhan6665 <1588741+yuhan6665@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package xray.proxy.tun;
|
||||
option csharp_namespace = "Xray.Proxy.Tun";
|
||||
option go_package = "github.com/xtls/xray-core/proxy/tun";
|
||||
option java_package = "com.xray.proxy.tun";
|
||||
option java_multiple_files = true;
|
||||
|
||||
message Config {
|
||||
string name = 1;
|
||||
uint32 MTU = 2;
|
||||
uint32 user_level = 3;
|
||||
}
|
||||
Reference in New Issue
Block a user