Skip to content

Commit ce931cb

Browse files
committed
fix: clear default route_address in DefaultInboundTun configuration
1 parent c15fa95 commit ce931cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/src/constant/profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export const DefaultInboundTun = (): IInbound['tun'] => ({
111111
mtu: 9000,
112112
auto_route: true,
113113
strict_route: true,
114-
route_address: ['0.0.0.0/1', '128.0.0.0/1', '::/1', '8000::/1'],
114+
route_address: [],
115115
endpoint_independent_nat: false,
116116
stack: TunStack.Mixed,
117117
})

frontend/src/views/ProfilesView/components/InboundsConfig.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ defineExpose({ handleAdd })
167167
</div>
168168
<div :class="{ 'flex-start': inbound.tun.route_address.length }" class="form-item">
169169
{{ t('kernel.inbounds.tun.route_address') }}
170-
<InputList v-model="inbound.tun.route_address" />
170+
<InputList v-model="inbound.tun.route_address" placeholder="0.0.0.0/1 ::1" />
171171
</div>
172172
</div>
173173
</Card>

0 commit comments

Comments
 (0)