feat: Support Tun Config (#416)

This commit is contained in:
MystiPanda authored and GitHub committed 2024-02-20 23:27:03 +08:00
1 parent bca3685eda
commit 7551b45da2
8 files changed
+264 -19

No files matched your search

+9
View File
@@ -32,6 +32,15 @@ interface IConfigData {
"tproxy-port": number;
"external-controller": string;
secret: string;
tun: {
stack: string;
device: string;
"auto-route": boolean;
"auto-detect-interface": boolean;
"dns-hijack": string[];
"strict-route": boolean;
mtu: number;
};
}
interface IRuleItem {