Code Monkey home page Code Monkey logo

Comments (18)

dawnnao avatar dawnnao commented on July 24, 2024 2

@qiwihui hiwifi-ss 目前用的是大陆白名单模式,那我该如何手动添加个别域名进去呢?

from hiwifi-ss.

hybtw avatar hybtw commented on July 24, 2024 1

iptables -t nat -A $appname -p tcp -m set --match-set gfwlist dst -j DNAT --to-destination $lan_ip:$rs_port_tcp
iptables -t nat -A $appname -p tcp -m salist --salist gfwlist --match-dip -j DNAT --to-destination $lan_ip:$rs_port_tcp
ipset和salist都没有gfwlist吧?

from hiwifi-ss.

q629988171 avatar q629988171 commented on July 24, 2024 1

@vicode0768 gfwlist 格式是 "server=/ctao.org/127.0.0.1#53535"

from hiwifi-ss.

qiwihui avatar qiwihui commented on July 24, 2024

ss使用的是gfwlist,符合规则的域名或者ip走代理,其他正常访问。

from hiwifi-ss.

qiwihui avatar qiwihui commented on July 24, 2024

更新gfwlist参考 #4

from hiwifi-ss.

reaCodes avatar reaCodes commented on July 24, 2024

可是我测试的结果是,好多没有被墙的网站都使用了代理,比如
http://www.infobyip.com
https://www.whatismyip.com/my-ip-information
https://ipinfo.io/
这些网站检测到我访问的来源都是那个代理服务器的IP,然而我访问国内的类似网站,比如
http://ip.cn/
http://ipip.net/
检测到我的IP来源就是我本地宽带分配的IP了
那我是不是可以猜想,这个使用的是大陆白名单?
不知道什么原因!
@qiwihui

from hiwifi-ss.

qiwihui avatar qiwihui commented on July 24, 2024

我之前的解释错了。
目前ss用的是白名单模式。

from hiwifi-ss.

reaCodes avatar reaCodes commented on July 24, 2024

@qiwihui Okey,那能不能改成使用GFWList?

from hiwifi-ss.

qiwihui avatar qiwihui commented on July 24, 2024

如果你想换成黑名单模式,你可以这么做:
/etc/init.d/gw-redsocks 36~40 行替换为

iptables -t nat -A $appname -p tcp -m set --match-set gfwlist dst -j DNAT --to-destination $lan_ip:$rs_port_tcp
iptables -t nat -A $appname -p tcp -m salist --salist gfwlist --match-dip -j DNAT --to-destination $lan_ip:$rs_port_tcp

然后重启ss

from hiwifi-ss.

reaCodes avatar reaCodes commented on July 24, 2024

@qiwihui 规则什么的不用动吗?GFWList如何更新?(我比较菜😀)

from hiwifi-ss.

qiwihui avatar qiwihui commented on July 24, 2024

目前gfw规则的时间是 2016-08-07,手动更新请使用项目 gfwlist2dnsmasq 里的脚本更新,生成的结果手动改成本项目需要的格式就可以了。
暂不支持自动更新。

from hiwifi-ss.

reaCodes avatar reaCodes commented on July 24, 2024

@qiwihui 按照你说的改了,插件能启动,但是一直提示无法加速😅

from hiwifi-ss.

qiwihui avatar qiwihui commented on July 24, 2024

one question, one issue. thx.

from hiwifi-ss.

qiwihui avatar qiwihui commented on July 24, 2024

referring to #37

from hiwifi-ss.

pbbqdd avatar pbbqdd commented on July 24, 2024

salist 这个列表里没有gfwlist ipset可以用

from hiwifi-ss.

wl1244hotmai avatar wl1244hotmai commented on July 24, 2024

这两行sh是不是有问题

from hiwifi-ss.

vicode0768 avatar vicode0768 commented on July 24, 2024

@qiwihui @q629988171 gfwlist里面的格式是需要什么样的?

from hiwifi-ss.

w0o0 avatar w0o0 commented on July 24, 2024

https://github.com/Paull/hiwifi.easucks

搜索到这个项目,目前支持GFWList,同时支持“黑白名单”(与这里的概念有点不一样),也支持mac地址过滤,极2A(HC5761A - 1.3.5.18462s)亲测有效。

from hiwifi-ss.

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.