All Projects → Acris → Shadowsocks Asuswrt Merlin

Acris / Shadowsocks Asuswrt Merlin

Licence: mit
Shadowsock for Asuswrt-Merlin New Gen

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Shadowsocks Asuswrt Merlin

Mmp Go
Mega Multiplexer, a single port multi-service relay for shadowsocks. 中转机单端口转发多台shadowsocks服务器。
Stars: ✭ 116 (-21.62%)
Mutual labels:  shadowsocks
Ubnt Mips Shadowsocks Libev
Cross complie shadowsocks for UBNT devices based on mipsel or mips64
Stars: ✭ 127 (-14.19%)
Mutual labels:  shadowsocks
Shadowrocket Adblock Rules
提供多款 Shadowrocket 规则,带广告过滤功能。用于 iOS 未越狱设备选择性地自动翻墙。
Stars: ✭ 12,447 (+8310.14%)
Mutual labels:  shadowsocks
Ssvpn
V2free for android, a V2ray and Shadowsocks client with many builtin free servers.
Stars: ✭ 121 (-18.24%)
Mutual labels:  shadowsocks
Aioshadowsocks
用 asyncio 重写 shadowsocks ~
Stars: ✭ 126 (-14.86%)
Mutual labels:  shadowsocks
Fwlite
A anti-censorship HTTP proxy with builtin shadowsocks support.
Stars: ✭ 129 (-12.84%)
Mutual labels:  shadowsocks
V2ray Core
A platform for building proxies to bypass network restrictions.
Stars: ✭ 38,782 (+26104.05%)
Mutual labels:  shadowsocks
Shadowproxy
A proxy server that implements Socks5/Shadowsocks/Redirect/HTTP (tcp) and Shadowsocks/TProxy/Tunnel (udp) protocols.
Stars: ✭ 142 (-4.05%)
Mutual labels:  shadowsocks
Moproxy
A transparent TCP to SOCKSv5/HTTP proxy on Linux written in Rust.
Stars: ✭ 126 (-14.86%)
Mutual labels:  shadowsocks
Unblockchn
Unblock CHN - Shadowsocks 回国解锁代理分流配置工具 (路由器 & Surge) - Unblock Youku 衍生工具
Stars: ✭ 134 (-9.46%)
Mutual labels:  shadowsocks
Performance
Xray/v2ray/trojan/shadowsocks 基础性能测试及针对性测试.
Stars: ✭ 122 (-17.57%)
Mutual labels:  shadowsocks
Tun2socks
tun2socks - powered by gVisor TCP/IP stack
Stars: ✭ 123 (-16.89%)
Mutual labels:  shadowsocks
Encryptsocks
Encrypt your socks transmission.
Stars: ✭ 131 (-11.49%)
Mutual labels:  shadowsocks
Hiwifi Ss
极路由+ss配置
Stars: ✭ 1,520 (+927.03%)
Mutual labels:  shadowsocks
Shadowsocks Cloak Installer
A one-key script to setup Cloak plugin with Shadowsocks on your server
Stars: ✭ 138 (-6.76%)
Mutual labels:  shadowsocks
Subscribevue
ss ssr v2ray 订阅管理 vue前端界面
Stars: ✭ 114 (-22.97%)
Mutual labels:  shadowsocks
Fanqiang Book
2021科学上网指南,小白图文攻略 | 翻墙/梯子/自由上网/SSR/V2Ray/
Stars: ✭ 127 (-14.19%)
Mutual labels:  shadowsocks
Soksaccounts
🔥 Shadowsocks 账号爬虫
Stars: ✭ 145 (-2.03%)
Mutual labels:  shadowsocks
Ladder
梯子,科学上网,翻墙 , 代理, 外网, 加速器, 路由, V2Ray,SS,shadowsocks, SSR
Stars: ✭ 141 (-4.73%)
Mutual labels:  shadowsocks
Ssr Manyuser glzjin shell
sspanel v3 魔改版 后端一键安装配置管理脚本
Stars: ✭ 133 (-10.14%)
Mutual labels:  shadowsocks

Shadowsocks for Asuswrt-Merlin New Gen

shadowsocks-asuswrt-merlin will install shadowsocks-libev and v2ray-plugin on your Asuswrt-Merlin New Gen(version 382.xx and higher) based router, tested on NETGEAR R7000 and ASUS RT-AC86U.

For server side set up, you can easily install shadowsocks server and v2ray-plugin with docker by https://github.com/Acris/docker-shadowsocks-libev.

Getting Started

Prerequisites

  • Asuswrt-Merlin New Gen(version 382.xx and higher) based router
  • Entware must be installed, you can find installation documents on https://github.com/RMerl/asuswrt-merlin/wiki/Entware
  • JFFS partition should be enabled
  • ca-certificates should be installed for HTTPS support
  • git and git-http should be installed
  • wget should be installed

Make sure you have installed all prerequisites software and utils, you can install it by:

opkg update
opkg upgrade
opkg install ca-certificates git-http wget

Installation

shadowsocks-asuswrt-merlin is installed by running the following commands in your terminal:

sh -c "$(wget https://cdn.jsdelivr.net/gh/Acris/[email protected]/tools/install.sh -O -)"

Configuration

Configure shadowsocks

The sample shadowsocks configuration file location is: /opt/share/ss-merlin/etc/shadowsocks/config.sample.json, ensure local_address is set to 0.0.0.0.

We highly recommend to enable v2ray-plugin on your server side. You can set up your server in several command with: https://github.com/Acris/docker-shadowsocks-libev.

If you want to enable UDP support, you should set mode from tcp_only to tcp_and_udp.

For configuration file documents, you can go to: https://github.com/shadowsocks/shadowsocks-libev/blob/master/doc/shadowsocks-libev.asciidoc#config-file

# Copy and edit the shadowsocks configuration file
cd /opt/share/ss-merlin/etc/shadowsocks
cp config.sample.json config.json
vi config.json

Configure shadowsocks-asuswrt-merlin

The sample shadowsocks-asuswrt-merlin configuration file location is: /opt/share/ss-merlin/etc/ss-merlin.sample.conf. Currently, shadowsocks-asuswrt-merlin support three mode:

  • 0: GFW list.
  • 1: Bypass mainland China.
  • 2: Global mode.

You can also enable or disable UDP support to change udp=0 or udp=1, ensure your server side support UDP and set "mode": "tcp_and_udp" in shadowsocks configuration file.

# Copy and edit the shadowsocks-asuswrt-merlin configuration file
cd /opt/share/ss-merlin/etc
cp ss-merlin.sample.conf ss-merlin.conf
vi ss-merlin.conf

Configure which LAN IP will pass transparent proxy by edit lan_ips, you can assign a LAN IP like 192.169.1.125 means only this device can pass transparent proxy.

And you can change the default DNS server for Chinese IPs by modifying china_dns_ip.

Then, start the service:

# Start the service
ss-merlin start

Usage

[email protected]:/tmp/home/root# ss-merlin 
 Usage: ss-merlin start|stop|restart|upgrade|uninstall

Custom user rules

# Block domain
## Add domain to this file if you want to block it.
vi /opt/share/ss-merlin/rules/user_domain_name_blocklist.txt

# Force pass proxy
## You can add domain to this file if you want to force the domain pass proxy.
vi /opt/share/ss-merlin/rules/user_domain_name_gfwlist.txt

# Domain whitelist
## You can add domain to this file if you need the domain bypass proxy.
vi /opt/share/ss-merlin/rules/user_domain_name_whitelist.txt

# IP whitelist
## You can add IP address to this file if you need the IP bypass proxy.
vi /opt/share/ss-merlin/rules/user_ip_whitelist.txt

# IP gfwlist
## You can add IP address to this file if you want to force the IP pass proxy.
vi /opt/share/ss-merlin/rules/user_ip_gfwlist.txt

# Then, restart the service
ss-merlin restart

Credits

Thanks for the following awesome projects ❤️

License

The MIT License (MIT)

Copyright (c) 2016 Billy Zheng

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].