We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ubuntu 系统默认开启了 systemd-resolved ,占用了 53 端口,目前是两种方法解决:
iptables -t nat -N DNS iptables -t nat -F DNS iptables -t nat -A DNS -p udp -j REDIRECT --to-port 1053 iptables -t nat -I OUTPUT -p udp --dport 53 -j DNS iptables -t nat -I PREROUTING -p udp --dport 53 -j REDIRECT --to 1053
如果加个劫持端口的选项,在启动 cgproxy 时执行劫持规则,停止 cgproxy 时清空劫持规则,就会方便很多。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ubuntu 系统默认开启了 systemd-resolved ,占用了 53 端口,目前是两种方法解决:
如果加个劫持端口的选项,在启动 cgproxy 时执行劫持规则,停止 cgproxy 时清空劫持规则,就会方便很多。
The text was updated successfully, but these errors were encountered: