Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
freechw opened this issue Dec 17, 2019 · 1 comment
Open

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

freechw opened this issue Dec 17, 2019 · 1 comment

Comments

@freechw
Copy link

freechw commented Dec 17, 2019

是再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

@felix-fly
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants