Acris / shadowsocks-asuswrt-merlin

Shadowsock for Asuswrt-Merlin New Gen
MIT License
247 stars 43 forks source link

代理配置完成后无法使用,请大佬帮忙看看 #44

Closed RichardGTG closed 3 years ago

RichardGTG commented 3 years ago

路由器RT-AC86U,最新Asus-Merlin固件384.19,按照https://github.com/Acris/shadowsocks-asuswrt-merlin 的方法配置完成后无法使用。 最初表现:VPS ping不通,显示timeout,连接WiFi后,手机连上SS也翻不出去。 之后:关闭路由器防火墙之后,可以ping通,并且手机连上SS可以翻出去,但是不连还是不能翻。

奇怪的是,ss-merlin启动之后,原本没有被墙的境外网站也上不去了,比如github。

参考https://github.com/Acris/shadowsocks-asuswrt-merlin/issues/15 后的操作:

iptables -t nat -L Screenshot 2020-11-23 194538

ipset list Screenshot 2020-11-23 194502 Screenshot 2020-11-23 194446

ipset list gfwlist Screenshot 2020-11-23 192756

shadowsocks/config.json Screenshot 2020-11-23 193200

ss-merlin.conf Screenshot 2020-11-23 192939

Acris commented 3 years ago

尝试去掉shadowsocks/config.json中的fast_open这行,并且将mode那一行最后的逗号去除,然后执行ss-merlin restart看看能否使用。

如果还是不行,请排查: 1、服务端是否启用了某些插件,需要客户端配置才能连接? 2、使用ps命令看看有没有ss-redir进程?

RichardGTG commented 3 years ago

神奇啊!fast_open和逗号去掉之后就能用了。服务端其实是采用了simple obfs的混淆插件,协议是tls,不晓得是否支持这一插件?

Acris commented 3 years ago

simple-obfs已弃用,详见:https://github.com/shadowsocks/simple-obfs#simple-obfs 建议使用v2ray-pluginhttps://github.com/shadowsocks/v2ray-plugin 基于docker的服务端:https://github.com/Acris/docker-shadowsocks-libev

RichardGTG commented 3 years ago

好的,感谢大佬!