我而家個config係咁
一踢著個singbox就網都上唔到,我覺得係dns問題
開termux ping到8.8.8.8但ping唔到google.com- {
- "log": {
- "level": "info",
- "timestamp": true
- },
- "dns": {
- "servers": [
- {
- "tag": "default",
- "address": "8.8.8.8",
- "detour": "direct"
- }
- ],
- "rules": [
- {
- "outbound": "any",
- "server": "default"
- }
- ],
- "final": "default",
- "strategy": "prefer_ipv4"
- },
- "inbounds": [
- {
- "type": "tun",
- "tag": "tun-in",
- "mtu": 1500,
- "address": "172.18.0.122/30",
- "auto_route": true,
- "strict_route": true,
- "stack": "mixed",
- "sniff": true
- }
- ],
- "outbounds": [
- {
- "type": "direct",
- "tag": "direct"
- },
- {
- "type": "dns",
- "tag": "dns-out"
- },
- {
- "type": "wireguard",
- "tag": "home",
- "interface_name": "wg0",
- "local_address": "10.0.0.3/24",
- "private_key": "<omitted>",
- "server": "<omitted>.duckdns.org",
- "server_port": 51820,
- "peer_public_key": "Z1XXLsKYkYxuiYjJIkRvtIKFepCYHTgON+GwPq7SOV4=",
- "pre_shared_key": "<omitted>",
- "mtu": 1420
- },
- {
- "type": "wireguard",
- "tag": "airvpn",
- "interface_name": "wg1",
- "local_address": "10.166.51.11/32",
- "private_key": "<omitted>",
- "server": "sg3.vpn.airdns.org",
- "server_port": 1637,
- "peer_public_key": "PyLCXAQT8KkM4T+dUsOQfn+Ub3pGxfGlxkIApuig+hk=",
- "pre_shared_key": "<omitted>",
- "mtu": 1320
- }
- ],
- "route": {
- "rules": [
- {
- "protocol": "dns",
- "outbound": "dns-out"
- },
- {
- "domain_suffix": "chatgpt.com",
- "outbound": "airvpn"
- },
- {
- "ip_cidr": [
- "10.0.0.0/24",
- "192.168.1.0/24"
- ],
- "outbound": "home"
- }
- ],
- "final": "direct",
- "auto_detect_interface": true,
- "override_android_vpn": true
- }
- }
複製代碼 |