Comments (6)
应该是 局域网到 tun 的 NAT 被防火墙阻止了。
因为你的路由器配置和我的差别比较大,网卡都不一样,默认的脚本可能不能正常工作,建议直接用路由器自己的配置工具来配置,这样防火墙会自动配置好,也不会有奇怪的问题:
https://github.com/clowwindy/ShadowVPN/wiki/Configure-via-LuCI-on-OpenWRT
概括来说就是把默认路由改为走 tun,到 VPS 的路由直接走 wan,再添加 lan=>tun, tun=>wan 的防火墙转发和放行规则。
from shadowvpn.
@clowwindy
1.能否贴出你的路由配置,我参照看看。看起来我的服务器已经正常工作了是吗?那为何只有ping 8.8.8.8能通,而ping别的地址,比如amazon.com服务器端就接收不到信息?
2.chinadns之前没有配置代理使用的相当不错,后来墙升级了吗?不能比较高效的屏蔽虚假dns数据包,又或者是运营商的问题?
3.pt的流量能不走代理吗?
4.我在issue中贴出的图片是什么样的网络情况?看起来不像是reset。
from shadowvpn.
我说的路由配置是 OpenWRT 装好后默认设置的一堆东西,和版本、固件、网络环境都有关系,自带的示例脚本在没有测试过的环境下可能无法工作
IP 能 ping 通 域名 ping 不通有可能是 DNS 的问题
如果你找不到问题的所在,建议按照我发的链接用 LuCI 来配置,这样不管网卡叫什么都可以正确设置路由和防火墙
from shadowvpn.
谢谢,我按https://github.com/clowwindy/ShadowVPN/wiki/Configure-via-LuCI-on-OpenWRT
试试看,回头贴出结果。
from shadowvpn.
太帅了,按照操作果然成功了!谢谢!如何编辑wiki,不会写代码,写手册还是会的,想把中文的内容写入wiki
from shadowvpn.
可以点右上角的 New Page 创建新的 wiki 页面
https://github.com/clowwindy/ShadowVPN/wiki
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.