|
@@ -292,7 +292,7 @@ export const InboundSchema = z.object({
|
|
|
listen: z.string(),
|
|
listen: z.string(),
|
|
|
nodeId: z.number().int().nullable().optional(),
|
|
nodeId: z.number().int().nullable().optional(),
|
|
|
port: z.number().int().min(1).max(65535),
|
|
port: z.number().int().min(1).max(65535),
|
|
|
- protocol: z.enum(['vmess', 'vless', 'trojan', 'shadowsocks', 'wireguard', 'hysteria', 'http', 'mixed', 'tunnel']),
|
|
|
|
|
|
|
+ protocol: z.enum(['vmess', 'vless', 'trojan', 'shadowsocks', 'wireguard', 'hysteria', 'http', 'mixed', 'tunnel', 'tun']),
|
|
|
remark: z.string(),
|
|
remark: z.string(),
|
|
|
settings: z.unknown(),
|
|
settings: z.unknown(),
|
|
|
sniffing: z.unknown(),
|
|
sniffing: z.unknown(),
|