clowwindy / ShadowVPN

Removed according to regulations.
1.47k stars 1.06k forks source link

关于服务器端的架设问题 #154

Closed ghost closed 8 years ago

ghost commented 8 years ago

用的是ubuntu,通过git把源码加载到本地然后编译好安装好之后启动程序 然后到log文件查看会出现这样的情况! Sun Jan 10 16:35:46 2016 vpn.c:102 open: No such file or directory Sun Jan 10 16:35:46 2016 can not open /dev/net/tun Sun Jan 10 16:35:46 2016 failed to create tun device 请问怎么解决

sdysj commented 8 years ago

你个逗逼 sb

ghost commented 8 years ago

@sdysj 并没有找到解决方法!!!?

HarukaMa commented 8 years ago

Make sure your VPS provides TUN/TAP devices. Contact the provider or enable it in the panel.

iPhoneから送信

H28/01/10 17:42、Mass Carl notifications@github.com のメッセージ:

用的是ubuntu,通过git把源码加载到本地然后编译好安装好之后启动程序 然后到log文件查看会出现这样的情况! Sun Jan 10 16:35:46 2016 vpn.c:102 open: No such file or directory Sun Jan 10 16:35:46 2016 can not open /dev/net/tun Sun Jan 10 16:35:46 2016 failed to create tun device 请问怎么解决

— Reply to this email directly or view it on GitHub.

ghost commented 8 years ago

@HarukaMa thanks and I will have a try

aa65535 commented 8 years ago
mkdir -p /dev/net
mknod /dev/net/tun c 10 200
chmod 0666 /dev/net/tun
ghost commented 8 years ago

@aa65535 按你的说法做了,解决了第一条问题,但是出现tun0无法设定的情况,这个可能还是会和VPS的类型有关。错误日志如下: Mon Jan 11 08:20:44 2016 vpn.c:119 ioctl[TUNSETIFF]: Operation not permitted Mon Jan 11 08:20:44 2016 can not setup tun device: tun0 Mon Jan 11 08:20:44 2016 failed to create tun device