wangyu- / tinyfecVPN

A VPN Designed for Lossy Links, with Build-in Forward Error Correction(FEC) Support. Improves your Network Quality on a High-latency Lossy Link.
MIT License
2.33k stars 460 forks source link

-ash: socat: not found #4

Closed kukat closed 6 years ago

kukat commented 6 years ago

使用的虛擬機鏡像 https://github.com/wangyu-/udp2raw-tunnel/releases/download/20170918.0/lede-17.01.2-x86_virtual_machine_image_with_udp2raw_pre_installed.zip

guest os ip: 192.168.0.121 找不到socat命令

root@LEDE:~# socat UDP-LISTEN:443,fork,reuseaddr UDP:10.22.22.1:443
-ash: socat: not found

在路由器/虚拟机中运行如下命令(socat在我提供的虚拟机里已经安装好了):

socat UDP-LISTEN:443,fork,reuseaddr UDP:10.22.22.1:443
socat TCP-LISTEN:443,fork,reuseaddr TCP:10.22.22.1:443
wangyu- commented 6 years ago

你这个应该是在tinyFecVPN发布之前下载的,重新下载一下,新的里面已经自带了。

kukat commented 6 years ago

我今天才下的呀

➜ stat -x lede-17.01.2-x86_virtual_machine_image_with_udp2raw_pre_installed.zip
  File: "lede-17.01.2-x86_virtual_machine_image_with_udp2raw_pre_installed.zip"
  Size: 8832538      FileType: Regular File
  Mode: (0644/-rw-r--r--)         Uid: (  503/    cyao)  Gid: (   20/   staff)
Device: 1,2   Inode: 4229686    Links: 1
Access: Mon Oct 30 16:08:49 2017
Modify: Mon Oct 30 15:43:11 2017
Change: Mon Oct 30 15:43:12 2017

你是不是有個更新的鏡像,沒有發佈出來?我下載的是20170918

wangyu- commented 6 years ago

一会我看一下

你先用opkg update 和opkg install socat安装一下

wangyu- commented 6 years ago

已经修正了,多谢反馈。