Giter Site home page Giter Site logo

Can't connect to Internet about shadowvpn HOT 6 CLOSED

clowwindy avatar clowwindy commented on June 25, 2024
Can't connect to Internet

from shadowvpn.

Comments (6)

clowwindy avatar clowwindy commented on June 25, 2024

应该是 局域网到 tun 的 NAT 被防火墙阻止了。
因为你的路由器配置和我的差别比较大,网卡都不一样,默认的脚本可能不能正常工作,建议直接用路由器自己的配置工具来配置,这样防火墙会自动配置好,也不会有奇怪的问题:
https://github.com/clowwindy/ShadowVPN/wiki/Configure-via-LuCI-on-OpenWRT
概括来说就是把默认路由改为走 tun,到 VPS 的路由直接走 wan,再添加 lan=>tun, tun=>wan 的防火墙转发和放行规则。

from shadowvpn.

la0wei avatar la0wei commented on June 25, 2024

@clowwindy
1.能否贴出你的路由配置,我参照看看。看起来我的服务器已经正常工作了是吗?那为何只有ping 8.8.8.8能通,而ping别的地址,比如amazon.com服务器端就接收不到信息?
2.chinadns之前没有配置代理使用的相当不错,后来墙升级了吗?不能比较高效的屏蔽虚假dns数据包,又或者是运营商的问题?
3.pt的流量能不走代理吗?
4.我在issue中贴出的图片是什么样的网络情况?看起来不像是reset。

from shadowvpn.

clowwindy avatar clowwindy commented on June 25, 2024

我说的路由配置是 OpenWRT 装好后默认设置的一堆东西,和版本、固件、网络环境都有关系,自带的示例脚本在没有测试过的环境下可能无法工作
IP 能 ping 通 域名 ping 不通有可能是 DNS 的问题
如果你找不到问题的所在,建议按照我发的链接用 LuCI 来配置,这样不管网卡叫什么都可以正确设置路由和防火墙

from shadowvpn.

la0wei avatar la0wei commented on June 25, 2024

谢谢,我按https://github.com/clowwindy/ShadowVPN/wiki/Configure-via-LuCI-on-OpenWRT
试试看,回头贴出结果。

from shadowvpn.

la0wei avatar la0wei commented on June 25, 2024

太帅了,按照操作果然成功了!谢谢!如何编辑wiki,不会写代码,写手册还是会的,想把中文的内容写入wiki

from shadowvpn.

clowwindy avatar clowwindy commented on June 25, 2024

可以点右上角的 New Page 创建新的 wiki 页面
https://github.com/clowwindy/ShadowVPN/wiki

from shadowvpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.