Comments (16)
应该是 client.sh 第 24 和 25 行读到的路由为空,可以手动执行一下这两行看看为什么。
from shadowvpn.
身处校园网,极路由没有使用pppoe拨号,直接dhcp的,估计也有影响吧
from shadowvpn.
可以执行一下那两行看看输出
我没有你的网络环境和路由器,所以无法代你调试
from shadowvpn.
建立连接后能ping 通vps的ip,10.7.0.1不可以,其他外网也不行
自己终端执行old_gw_intf=`ip route show | grep '^default' | sed -e 's/.* dev \([^ ]*\).*/\1/'
` echo $old_gw_intf输出是eth0,old_gw_ip的输出是192.168.1.1
from shadowvpn.
可以按照 FAQ 第五条检查一下路由表,以及用 tcpdump 看一下包在哪里丢掉了
https://github.com/clowwindy/ShadowVPN/wiki/FAQ
from shadowvpn.
你那个是 sh 运行语法错误,sh 指定的不是 bash
from shadowvpn.
@chaosong Ubuntu 上的 /bin/sh 不支持 if?
from shadowvpn.
@clowwindy 哦,我说的是楼主贴出来的那个语法问题。
因为我也碰到了,cubieboard2 上刷的 ubuntu-server 上面 sh 默认指向是 /bin/dash 而不是 /bin/bash
from shadowvpn.
换了个网络环境,尽管还是提示这两个错误,不过已经偶尔能成功了.目测是我校已经把udp封了,这也解释了为什么最近我ikev2也一直连不上的原因了,手机蜂窝网倒是可以.
唉,坑爹的校园网环境,最近才开始封锁的,不过谢谢@clowwindy的帮助了
from shadowvpn.
@evollost @chaosong 因为最近太忙了,暂时没有时间维护,你们可以先把 client_up.sh 和 client_down.sh 里的 if 语句去掉,改成兼容 dash 的,或者改成调用 bash xxx.sh 的方式
from shadowvpn.
应该还是内网环境有关,我这里 /var/log/shadowvpn.log 没错,ping vps 的 ip 能通,但是 ping 10.7.0.1 就走不通了,其他的域名 & ip 也都不通
from shadowvpn.
@clowwindy udp基本瘫痪的环境有解不...
from shadowvpn.
是的,我们也是封了 udp,我以前使用 mosh 的时候用 socat 转成 tcp 试过,理论上没问题,但是会慢,基本不值得折腾了
from shadowvpn.
udp 的问题未来会解决,不过要等到以后了。最近没什么时间维护这个项目,目前这个项目还在比较原始的阶段,很多东西都没有准备好,谢谢大家的关注,如果希望使用比较稳定的版本可以过段时间再来看看
from shadowvpn.
嗯 反正目前shadowsocks还是能跑的很欢
from shadowvpn.
@clowwindy
dash 并不是不支持 if, 而是不支持 [ string1 == string2 ]
这种比较方法,
可以改成 [ string1 = string2 ]
.
from shadowvpn.
Related Issues (20)
- 服务器端开启多人模式 HOT 1
- 同一台服务器上能同时开启客户端和服务段吗 HOT 1
- 请问2.0版本 是不是concurrency设定是无效的? HOT 4
- Bind to secondary gateway HOT 1
- Radius Server HOT 7
- cancel
- 除了youtube其他网站都打不开 HOT 2
- Get this working on asusmerlin-wrt HOT 4
- How to find the best maintained version among the 1000 forks? HOT 2
- shadowvpn可以监听udp端口吗 HOT 1
- Can't ShadownVPN run as server on Windows? HOT 1
- fileDescriptor == null ??
- tcp mode can't work
- No repo HOT 3
- shadowvpn 出现丢包导致网络断开问题 HOT 2
- Help to get vpn for iphone
- hi im @milad54700
- LOCAL_SRC_FILES points to a missing file libshadowvpn.a
- vpn HOT 1
- 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadowvpn.