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

可以不root在zerotermux里面运行smartdns吗? #16

Open
masx200 opened this issue Jan 20, 2024 · 1 comment
Open

可以不root在zerotermux里面运行smartdns吗? #16

masx200 opened this issue Jan 20, 2024 · 1 comment

Comments

@masx200
Copy link

masx200 commented Jan 20, 2024

然后浏览器可以设定本地doh,安卓设置本地dot,然后安装自签名证书是不是就可以了

@x4455
Copy link
Owner

x4455 commented Jan 22, 2024

按照以前那时候的经验来说是可以用termux起tcp、udp解析服务的,现在新加的服务应该也是可以的。

但是,绑定1024以下的端口需要有root权限,而doh和dot默认端口都在那里。
而且安卓系统的dot那里强制用默认端口853;doh的话应该是可以接受非标端口的,影响不大。
另外使用自签名证书的话,自签证书不root放进系统证书库中,系统dot不知道认不认,浏览器不清楚。

所以不root的话,顶多用一用doh。如果想要整个系统用上,基本还是要靠那些软件,例如 Adguard,拦截解析转发到udp服务上。

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