找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: 82***

padavan安装vnt,内网穿透,实现异地组网访问内网设备

[复制链接]
 楼主| | 显示全部楼层

不厉害 我只是复制的  这是人家作者更新了版本  1.2.0  他说1.2.0 对于一些单核机器 速度会有下降   所以我才试着把他1.2.0的 应用进1.1.2里面    多核 可能1.2.0速度更快
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
8267 发表于 2023-8-28 16:43
不厉害 我只是复制的  这是人家作者更新了版本  1.2.0  他说1.2.0 对于一些单核机器 速度会有下降   所以 ...

现在路由器的CPU大多是多核的,我有空去测试一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

这个和tailscale比有什么优势?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
浮士德 发表于 2023-8-28 23:43
这个和tailscale比有什么优势?

文件小   仅有5-600k大小   容易放进路由器里  国内的服务器  也可以自建服务器 路由器都可以自建服务器  更方便吧  对于mt7621的路由器来说  组网速度应该是仅此于frp的  也可能是相当   
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

谢谢楼主的分享帮助了我们这些小白,如果楼主有时间希望再出一下Wireguard的组网教程。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
759168065 发表于 2023-9-4 14:26
谢谢楼主的分享帮助了我们这些小白,如果楼主有时间希望再出一下Wireguard的组网教程。 ...

wg需要一个公网 ip 有时间看看再做一个吧 也挺简单的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

8267 发表于 2023-9-4 15:03
wg需要一个公网 ip 有时间看看再做一个吧 也挺简单的

好的,期待佳音。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

WR1200JS:/home/root # /etc/storage/bin/vnt.sh cmd: not started killall: vnt-cli: no process killed killall: vnt-cli: no process killed ifconfig: SIOCGIFFLAGS: No such device version 1.2.2 invalid ip
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我的路由弄不了怎么回事?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
70076222k 发表于 2023-9-5 12:25
我的路由弄不了怎么回事?

不应该啊 都能启动啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

8267 发表于 2023-9-5 12:42
不应该啊 都能启动啊

会不会是脚本的事,你上传一个我试试
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
70076222k 发表于 2023-9-5 21:55
会不会是脚本的事,你上传一个我试试
  1. #!/bin/sh

  2. /tmp/var/vnt-cli --stop
  3. iptables -D INPUT -i tun0 -j ACCEPT 2>/dev/null
  4. iptables -D FORWARD -i tun0 -o tun0 -j ACCEPT 2>/dev/null
  5. iptables -D FORWARD -i tun0 -j ACCEPT 2>/dev/null
  6. iptables -t nat -D POSTROUTING -o tun0 -j MASQUERADE 2>/dev/null
  7. sleep 3
  8. killall vnt-cli
  9. killall -9 vnt-cli
  10. killall vnt-cli
  11. killall -9 vnt-cli
  12. killall vnt-cli
  13. killall -9 vnt-cli
  14. ifconfig tun0 down && ip tuntap del tun0 mode tun
  15. /tmp/var/vnt-cli -k ndmiyao -d2  -i 192.168.20.0/24,10.26.0.2 -o 192.168.2.0/24 --ip 10.26.0.3 &

  16. sleep 5
  17. iptables -I INPUT -i tun0 -j ACCEPT
  18. iptables -I FORWARD -i tun0 -o tun0 -j ACCEPT
  19. iptables -I FORWARD -i tun0 -j ACCEPT
  20. iptables -t nat -I POSTROUTING -o tun0 -j MASQUERADE
  21. sleep 5
  22. [ ! -z "`pidof vnt-cli`" ] && echo "ÒÑÔËÐÐ"
  23. ifconfig tun0 arp
复制代码
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报


WR1200JS:/home/root # /etc/storage/bin/vnt.sh
killall: vnt-cli: no process killed
killall: vnt-cli: no process killed
killall: vnt-cli: no process killed
killall: vnt-cli: no process killed
killall: vnt-cli: no process killed
killall: vnt-cli: no process killed
ifconfig: SIOCGIFFLAGS: No such device
version 1.2.2
====== Connect Successfully ======
virtual_gateway:10.26.0.1
virtual_ip:10.26.0.3
====== Create Network Interface Successfully ======
name:vnt-tun
version:
====== Start Successfully ======
input:list,info,route,all,stop
▒▒???DD
ifconfig: SIOCGIFFLAGS: No such device
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报


WR1200JS:/home/root # /etc/storage/bin/vnt.sh
killall: vnt-cli: no process killed
killall: vnt-cli: no process killed
killall: vnt-cli: no process killed
killall: vnt-cli: no process killed
killall: vnt-cli: no process killed
killall: vnt-cli: no process killed
ifconfig: SIOCGIFFLAGS: No such device
version 1.2.2
====== Connect Successfully ======
virtual_gateway:10.26.0.1
virtual_ip:10.26.0.3
====== Create Network Interface Successfully ======
name:vnt-tun
version:
====== Start Successfully ======
input:list,info,route,all,stop
▒▒???DD
ifconfig: SIOCGIFFLAGS: No such device
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
70076222k 发表于 2023-9-5 23:12
WR1200JS:/home/root # /etc/storage/bin/vnt.sh
killall: vnt-cli: no process killed
killall: vnt-cli: ...

对啊这就是启动了  每个设备的 -d2  --ip 10.26.0.2   这个参数不能相同   A设备 -d2 --ip 10.26.0.2  那B设备 -d3 --ip 10.26.0.3
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-6 04:28

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表