Closed BI7PRK closed 3 years ago
Dokodemo-door 透明代理环境中。有一部分域名无法成功代理。但通过socks连接能正常访问。是哪里配置还有问题呢?
打不开的网址:raw.githubusercontent.com
{ "log": { "loglevel": "debug", "error": "" }, "dns": { "tag": "dns_list", "servers": [ { "address": "https+local://223.5.5.5/dns-query", "domains": [ "geosite:cn" ], "expectIPs": [ "geoip:cn" ] }, { "address": "8.8.8.8", "port": 53, "domains": [ "geosite:geolocation-!cn" ] }, "208.67.222.222", "localhost" ] }, "routing": { "domainStrategy": "IPOnDemand", "rules": [ { "type": "field", "domain": [ "geosite:cn", "hicq.club", "openwrt.org" ], "outboundTag": "direct" }, { "type": "field", "ip": [ "geoip:private", "geoip:cn", "95.169.26.242" ], "outboundTag": "direct" }, { "type": "field", "port": "123", "network": "udp", "outboundTag": "direct" }, { "type": "field", "domain": [ "geosite:category-ads" ], "outboundTag": "block" }, { "type": "field", "ip": [ "0.0.0.0/0" ], "network": "tcp,udp", "outboundTag": "proxy" } ] }, "inbounds": [ { "listen": "0.0.0.0", "port": 10808, "protocol": "socks", "settings": { "auth": "noauth", "udp": true }, "streamSettings": { "sockopt": { } }, "tag": "socks", "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] } }, { "listen": "0.0.0.0", "port": 10809, "protocol": "dokodemo-door", "settings": { "followRedirect": true, "network": "tcp" }, "streamSettings": { "sockopt": { "tproxy": "redirect" } }, "tag": "transparent", "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] } } ], "outbounds": [ { "protocol": "freedom", "settings": { "domainStrategy": "UseIP" }, "streamSettings": { "sockopt": { "mark": 255 } }, "tag": "direct" }, { "protocol": "blackhole", "settings": { }, "streamSettings": { "sockopt": { "mark": 255 } }, "tag": "block" }, { "protocol": "vless", "settings": { "vnext": [ { "address": "***", "port": 34110, "users": [ { "id": "***", "flow": "xtls-rprx-direct", "level": 0, "encryption": "none" } ] } ] }, "streamSettings": { "network": "tcp", "security": "xtls", "xtlsSettings": { "serverName": "**.***.com", "alpn": [ "h2", "http/1.1" ], "allowInsecure": false, "allowInsecureCiphers": false, "disableSystemRoot": false, "certificates": [ ] }, "tcpSettings": { }, "sockopt": { "domainStrategy": "UseIP", "mark": 255, "tcpFastOpen": true } }, "tag": "proxy" } ] }
试试用tproxy进行透明代理
确实可以了
此问题不知该在哪里发布请教,所以借个地请教一下,希望能得到解决方案。感谢!
问题描述:
Dokodemo-door 透明代理环境中。有一部分域名无法成功代理。但通过socks连接能正常访问。是哪里配置还有问题呢?
客户端配置: