Update tproxy_ipv4_and_ipv6.md

This commit is contained in:
SQLimit 2023-02-04 22:57:40 +08:00 committed by GitHub
parent 283249ad38
commit bd5a1215ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,18 +135,18 @@ title: TProxy 透明代理 (ipv4 and ipv6)
"dns": {
"hosts": {
"domain:googleapis.cn": "googleapis.com",
"dns.google": ["8.8.8.8", "8.8.4.4"],
"dns.google": "8.8.8.8",
"你的VPS域名": "你的VSP IP" //如果 outbound 的 proxy 里 address 填的域名希望代理走ipv4这里 VPS IP 填VPS的ipv4, 希望代理走ipv6这里VPS IP 填VPS的ipv6outbound 的 proxy 里 address 填的 IP这行不用写。
},
"servers": [
"https://1.1.1.1/dns-query",
{
"address": "tcp+local://119.29.29.29",
"address": "119.29.29.29",
"domains": ["geosite:cn"],
"expectIPs": ["geoip:cn"]
},
"https://dns.google/dns-query",
"tcp+local://223.5.5.5",
"223.5.5.5",
"localhost"
]
},
@ -174,7 +174,6 @@ title: TProxy 透明代理 (ipv4 and ipv6)
"outboundTag": "dns-out"
},
{
//使用了tcp+local查询dns这段不写也行但如果不是local模式需要写
"type": "field",
"ip": ["119.29.29.29", "223.5.5.5"],
"outboundTag": "direct"
@ -196,7 +195,7 @@ title: TProxy 透明代理 (ipv4 and ipv6)
},
{
"type": "field",
"ip": ["1.1.1.1"],
"ip": ["1.1.1.1", "8.8.8.8"],
"outboundTag": "proxy"
},
{