|
本帖最后由 邪恶海盗 于 2023-10-17 14:42 编辑
我用XP,所以用不了V2,这回准备测试一下结果失败了,哪位有经验的看看是哪里不对头
先看结果,上网海淘失败:
再看V2设置:
再贴上日志:
最后再附上配置文件(域名/UUID及HOST已隐藏,这个配置文件是手机上V2导出的VLESS,再在路由里导入的,确定在手机上使用正常):
- {
- "log": {
- "access": "none",
- "error": "/tmp/syslog.log",
- "loglevel": "error"
- },
- "inbounds": [
- {
- "port": 1088,
- "listen": "0.0.0.0",
- "protocol": "socks",
- "settings": {
- "auth": "noauth",
- "udp": true,
- "ip": "127.0.0.1"
- },
- "tag": "local_1088",
- "sniffing": {
- "enabled": true,
- "destOverride": [
- "http",
- "tls"
- ],
- "domainsExcluded": [
- "mijia cloud",
- "courier.push.apple.com"
- ]
- }
- },
- {
- "port": "1099",
- "listen": "0.0.0.0",
- "protocol": "dokodemo-door",
- "settings": {
- "network": "tcp,udp",
- "timeout": 30,
- "followRedirect": true
- },
- "tag": "redir_1099",
- "streamSettings": {
- "sockopt": {
- "tproxy": "redirect"
- }
- },
- "sniffing": {
- "enabled": true,
- "destOverride": [
- "http",
- "tls"
- ],
- "domainsExcluded": [
- "mijia cloud",
- "courier.push.apple.com"
- ]
- }
- },
- {
- "port": 8053,
- "tag": "dns_in",
- "protocol": "dokodemo-door",
- "settings": {
- "address": "8.8.8.8",
- "port": 53,
- "network": "tcp,udp"
- }
- }
- ],
- "outbounds": [
- {
- "protocol": "freedom",
- "settings": {},
- "tag": "direct",
- "streamSettings": {
- "sockopt": {
- "mark": 255
- }
- }
- },
- {
- "protocol": "vless",
- "settings": {
- "vnext": [
- {
- "address": "我的域名",
- "port": 80,
- "users": [
- {
- "id": "我的UUID",
- "encryption": "none"
- }
- ]
- }
- ]
- },
- "tag": "outbound_1",
- "streamSettings": {
- "network": "ws",
- "security": "none",
- "realitySettings": {
- "show": false
- },
- "tlsSettings": {
- "allowInsecure": true
- },
- "xtlsSettings": {
- "allowInsecure": true
- },
- "tcpSettings": {
- "header": {
- "type": "none",
- "request": {
- "path": [
- "/"
- ],
- "headers": {
- "Host": []
- }
- }
- }
- },
- "kcpSettings": {
- "header": {
- "type": "none"
- }
- },
- "wsSettings": {
- "path": "/?ed=2048",
- "headers": {
- "Host": "我的HOST"
- }
- },
- "httpSettings": {
- "host": [
- "“师夷长技以制夷”.com"
- ],
- "path": "/"
- },
- "dsSettings": {},
- "quicSettings": {
- "security": "none",
- "key": "",
- "header": {
- "type": "none"
- }
- },
- "grpcSettings": {
- "serviceName": ""
- },
- "sockopt": {
- "mark": 255
- }
- }
- },
- {
- "protocol": "blackhole",
- "settings": {},
- "tag": "blocked",
- "streamSettings": {
- "sockopt": {
- "mark": 255
- }
- }
- },
- {
- "protocol": "dns",
- "tag": "dns_out"
- }
- ],
- "dns": {
- "queryStrategy": "UseIPv4",
- "servers": [
- {
- "address": "8.8.8.8",
- "port": 53,
- "domains": [
- "domain:cn2qq.com",
- "geosite:google",
- "geosite:geolocation-!cn",
- "geosite:facebook",
- "geosite:twitter",
- "geosite:请不要发布这类群,谢谢",
- "domain:youtube.com",
- "domain:appspot.com",
- "domain:请不要发布这类群,谢谢.com",
- "domain:facebook.com",
- "domain:twitter.com",
- "domain:blogger.com",
- "domain:gmail.com",
- "domain:translate.googleapis.com",
- "domain:gvt1.com"
- ]
- },
- {
- "address": "223.5.5.5",
- "port": 53,
- "domains": [
- "geosite:cn",
- "geosite:apple",
- "domain:courier.push.apple.com"
- ],
- "expectIPs": [
- "geoip:cn"
- ]
- },
- "8.8.8.8",
- "8.8.4.4"
- ]
- },
- "routing": {
- "domainStrategy": "AsIs",
- "domainMatcher": "mph",
- "balancers": [],
- "rules": [
- {
- "inboundTag": [
- "dns_in"
- ],
- "outboundTag": "dns_out",
- "type": "field"
- },
- {
- "type": "field",
- "outboundTag": "blocked",
- "domains": [
- "geosite:category-ads-all"
- ]
- },
- {
- "type": "field",
- "ip": [
- "127.0.0.0/8",
- "::1/128"
- ],
- "outboundTag": "blocked"
- },
- {
- "type": "field",
- "ip": [
- "8.8.8.8",
- "8.8.4.4",
- "208.67.222.222",
- "208.67.220.220",
- "1.1.1.1",
- "1.0.0.1"
- ],
- "outboundTag": "outbound_1"
- },
- {
- "type": "field",
- "ip": [
- "192.168.0.0/16",
- "172.16.0.0/12",
- "169.254.0.0/16",
- "255.255.255.255/32",
- "geoip:private",
- "100.100.100.100/32",
- "188.188.188.188/32",
- "110.110.110.110/32"
- ],
- "outboundTag": "direct"
- },
- {
- "type": "field",
- "domains": [
- "gfwall.com",
- "cn2qq.com",
- "geosite:google",
- "geosite:facebook",
- "geosite:geolocation-!cn"
- ],
- "outboundTag": "outbound_1"
- },
- {
- "type": "field",
- "ip": [
- "149.154.160.1/32",
- "149.154.160.2/31",
- "149.154.160.4/30",
- "149.154.160.8/29",
- "149.154.160.16/28",
- "149.154.160.32/27",
- "149.154.160.64/26",
- "149.154.160.128/25",
- "149.154.161.0/24",
- "149.154.162.0/23",
- "149.154.164.0/22",
- "149.154.168.0/21",
- "91.108.4.0/22",
- "91.108.56.0/24",
- "109.239.140.0/24",
- "67.198.55.0/24",
- "91.108.56.172",
- "149.154.175.50",
- "149.154.160.0/20"
- ],
- "outboundTag": "outbound_1"
- }
- ]
- }
- }
复制代码
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|