Acris / shadowsocks-asuswrt-merlin

Shadowsock for Asuswrt-Merlin New Gen
MIT License
255 stars 44 forks source link

SOCKS5 realization #50

Closed gjf closed 2 years ago

gjf commented 2 years ago

According to the start script this piece of code deploys a transparent proxy (ss-redir) on the router to send all traffic thru remote ShadowSocks server.

But is it possible just to open SOCKS5 port on the router to redirect the traffic (ss-local)? I want to use such SOCKS5 not for all traffic but for a separate cases.

Acris commented 2 years ago

Hi, if you only need socks5 proxy, just install Entware, then install ss-local via opkg update && opkg install shadowsocks-libev-ss-local, then start ss-local via ss-local -c ${CONFIG_FILE_PATH}/config.json -f /opt/var/run/ss-local.pid, no need to use this project.

gjf commented 2 years ago

@Acris thanks a lot! It really works.