diff --git a/frontend/src/types/inbounds.ts b/frontend/src/types/inbounds.ts index 633771a3..e2ec33c2 100644 --- a/frontend/src/types/inbounds.ts +++ b/frontend/src/types/inbounds.ts @@ -171,7 +171,7 @@ export interface Tun extends InboundBasics { endpoint_independent_nat?: boolean udp_timeout?: string stack?: string - // auto_route?: boolean + auto_route?: boolean // gso?: boolean // strict_route?: boolean // iproute2_table_index?: number @@ -252,7 +252,7 @@ const defaultValues: Record = { tuic: { type: InTypes.TUIC, users: [], congestion_control: "cubic", tls: { enabled: true } }, hysteria2: { type: InTypes.Hysteria2, users: [], tls: { enabled: true } }, vless: { type: InTypes.VLESS, users: [], tls: {}, multiplex: {}, transport: {} }, - tun: { type: InTypes.Tun, mtu: 9000, stack: 'system', udp_timeout: '5m' }, + tun: { type: InTypes.Tun, mtu: 9000, stack: 'system', udp_timeout: '5m', auto_route: false }, redirect: { type: InTypes.Redirect }, tproxy: { type: InTypes.TProxy }, }