diff --git a/core/scripts/singbox/singbox.json b/core/scripts/singbox/singbox.json index 46e0350..b075476 100644 --- a/core/scripts/singbox/singbox.json +++ b/core/scripts/singbox/singbox.json @@ -40,10 +40,30 @@ { "type": "tun", "tag": "tun-in", + "interface_name": "tun0", + "address": [ + "172.18.0.1/30", + "fdfe:dcba:9876::1/126" + ], "mtu": 9000, - "inet4_address": "172.19.0.1/28", "auto_route": true, + "iproute2_table_index": 2022, + "iproute2_rule_index": 9000, + "auto_redirect": false, + "auto_redirect_input_mark": "0x2023", + "auto_redirect_output_mark": "0x2024", "strict_route": true, + "route_address": [ + "0.0.0.0/1", + "128.0.0.0/1", + "::/1", + "8000::/1" + ], + + "route_exclude_address": [ + "192.168.0.0/16", + "fc00::/7" + ], "endpoint_independent_nat": true, "stack": "mixed", "sniff": true,