GithubHelp home page GithubHelp logo

Comments (8)

bettermanbao avatar bettermanbao commented on July 24, 2024

如果纯粹为了防止dns污染,可以直接用opendns的dns-crypt解决。
ss-tunnel可以直接做udp隧道。

from openwrt-shadowsocksr-libev-full.

lersh avatar lersh commented on July 24, 2024

ss-tunnel不行,会间歇性的被阻断。dns-crypt我看看是啥…没用过。破娃酱的c#客户端实现了udp over tcp ,希望shadowsocks-libev也能实现吧…

from openwrt-shadowsocksr-libev-full.

lersh avatar lersh commented on July 24, 2024

看了下dns-crypt,应该不满足我的需求,首先我想在路由器上实现,其次公司的部分内外站点需要用公司的dns解析,这个dns-cyrpt估计做不到

from openwrt-shadowsocksr-libev-full.

bettermanbao avatar bettermanbao commented on July 24, 2024

ssr-tunnel -c $CONFIG -b 0.0.0.0 -l 5353 -L 8.8.8.8:53 -U
5353是隧道回本地的UDP监听端口
8.8.8.8:53换成你ss服务器端的dns ip
配置文件里面把混淆打开,肯定可以稳定的把dns隧道到本地的。
这样你和ss服务器间是tcp通信,但建立的隧道是UDP的。

from openwrt-shadowsocksr-libev-full.

bettermanbao avatar bettermanbao commented on July 24, 2024

我的gfwlist方案就是用ssr-tunnel把dns请求隧道到ss服务器端的,实测即使不加混淆也非常稳定。

from openwrt-shadowsocksr-libev-full.

lersh avatar lersh commented on July 24, 2024

ssr-tunnel -c $CONFIG -b 0.0.0.0 -l 5353 -L 8.8.8.8:53 -U 我就是这样配置的,但是用dig测试,有时能用有时不能用,不能用时,直接dig @8.8.8.8也是不通的,换成我自己的vps的ip也是不通的。ss-tunnel只是建立了udp通道,因此我怀疑是公司的网络会间歇性的阻断udp的链接。

from openwrt-shadowsocksr-libev-full.

lersh avatar lersh commented on July 24, 2024

这个dns解析失败确实不常见,我在家庭网络里都是正常的,但是在公司里就是间歇性有问题。

from openwrt-shadowsocksr-libev-full.

lersh avatar lersh commented on July 24, 2024

折腾了下,用pdnsd实现了tcp查询dns,并用ss-redir混淆pdnsd的数据实现了防污染的功能……

from openwrt-shadowsocksr-libev-full.

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.