v2ray-dnsmasq-dnscrypt icon indicating copy to clipboard operation
v2ray-dnsmasq-dnscrypt copied to clipboard

GW模式,使用DOH,udp转发如何设置?

Open freechw opened this issue 5 years ago • 1 comments

是再iptables增加一条,变成这样吗? ipset -N gw iphash iptables -t nat -A PREROUTING -p tcp -m set --match-set gw dst -j REDIRECT --to-port 12345 iptables -t nat -A PREROUTING -p udp -m set --match-set gw dst -j REDIRECT --to-port 12345

另外:doh服务还有GeekDNS可选,多地镜像,感觉速度快一点, https://www.233py.com

freechw avatar Dec 17 '19 09:12 freechw

UDP有给出规则啊,GeekDNS可以去看看,3q

felix-fly avatar Dec 17 '19 09:12 felix-fly