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
使用场景如下: 安卓设备A1,Openwrt路由器C1,A1需要使用C1的本地DNS服务器重写来配合C1上配置的ngnix反代,实现用域名访问C1上运行的本地服务
A1的配置 版本:1.2.13 虚拟ip:10.26.0.2 组网参数配置:in-ip: 0.0.0.0/0,10.26.0.3 更多参数:dns: 10.26.0.3
C1的配置 版本:1.2.14 虚拟ip:10.26.0.3 第一种配置:./vnt-cli -s *** -k *** -o 0.0.0.0/0 --dns 127.0.0.1
第二种配置:nft add rule ip nat POSTROUTING oifname != "vnt-tun" ip saddr 10.26.0.0/24 masquerade && ./vnt-cli -s *** -k *** -o 0.0.0.0/0 --no-proxy --dns 127.0.0.1
打通P2P后用iperf3测速很理想,能达到80mbps,但是A1无法用域名访问本地服务 在A1上用Termux输入命令nslookup baidu.com,无论怎样配置,发现DNS服务器仍是8.8.8.8
两端用tailscale连接,A1能正常访问域名,不过nslookup会显示connection timed out
vnt很好用,感谢大佬的付出
The text was updated successfully, but these errors were encountered:
没有加这个修改dns的功能,看看怎么改系统的dns吧
Sorry, something went wrong.
搜索了很多方法,基本都是需要用VPN,冲突了,另外试过adb修改私人DNS服务器也无法连接,看来只能用root来改了,但大多数人手机都是没有root的,比较限制使用,还是希望大佬后续能够加入这个功能,很多地方都用得到dns
No branches or pull requests
使用场景如下:
安卓设备A1,Openwrt路由器C1,A1需要使用C1的本地DNS服务器重写来配合C1上配置的ngnix反代,实现用域名访问C1上运行的本地服务
A1的配置
版本:1.2.13
虚拟ip:10.26.0.2
组网参数配置:in-ip: 0.0.0.0/0,10.26.0.3
更多参数:dns: 10.26.0.3
C1的配置
版本:1.2.14
虚拟ip:10.26.0.3
第一种配置:./vnt-cli -s *** -k *** -o 0.0.0.0/0 --dns 127.0.0.1
第二种配置:nft add rule ip nat POSTROUTING oifname != "vnt-tun" ip saddr 10.26.0.0/24 masquerade
&& ./vnt-cli -s *** -k *** -o 0.0.0.0/0 --no-proxy --dns 127.0.0.1
打通P2P后用iperf3测速很理想,能达到80mbps,但是A1无法用域名访问本地服务
在A1上用Termux输入命令nslookup baidu.com,无论怎样配置,发现DNS服务器仍是8.8.8.8
两端用tailscale连接,A1能正常访问域名,不过nslookup会显示connection timed out
vnt很好用,感谢大佬的付出
The text was updated successfully, but these errors were encountered: