Code Monkey home page Code Monkey logo

merlin-ss's Introduction

Shadowsocks for Merlin 华硕路由梅林固件

非原创,提取 https://github.com/hq450/fancyss_history_package 科学上网插件。

机型支持

华硕armv7系列 merlin固件

  • 华硕 RT-AC68U
  • 华硕 RT-AC66U-B1
  • 华硕 RT-AC1900
  • 华硕 RT-AC1900P
  • 华硕 RT-AC87U
  • 华硕 RT-AC88U
  • 华硕 RT-AC3100
  • 华硕 RT-AC3200
  • 华硕 RT-AC5300

说明

代理方式

目前支持 gfwlist 白单名、chnroute **白单名、全局三种代理模式。

  • gfwlist 白单名,只要域名在名单内及配置了黑名单都走代理模式。
  • chnroute 白单名,只要ip不在chnroute 内及黑名单都走代理模式。
  • 全局,除白单名外,其余都走代理模式。

DNS 污染

目前支持3种解决方案:

  1. chinaDNS,国内域名走国内DNS;国外域名走国外DNS;但不稳定,chinaDNS老挂。
  2. dns2socks,通过 ss 服务器 tcp 转发。
  3. ss-tunnle,通过 ss 服务器 upd 转发,需要服务器支持。

config 配置说明

  1. blacklist.txt,黑名单;无论那种模式,黑名单的IP都通过代理。
  2. chnroute.txt,**白名单。
  3. dnsproxyip.txt,纯净 dns 服务器;不设置默认 8.8.8.8 。
  4. gfwlist.conf,白名单;可在线更新。
  5. serverlist.txt,ss 服务器列表,支持域名;自动选择最快的服务器连接。
  6. ss.json,ss 服务器配置,服务器列表配置均需要一样。
  7. ssdns.json,ss-tunnle 为 DNS 时 ss 服务器配置。
  8. whitelist.txt,白名单,任何时候都不通过代理。

使用

sh ss.sh [optiong]

命令 描述
start 以配置文件设置启动服务
restart 以配置文件设置重新启动服务
stop 关闭服务
flush_nat 清空转发规则表
update_rule 在线更新gfwlist
参数 描述
-h 显示帮助
-d <dns_mode> 设置dns污染方案
-m <proxy_mode> 设置代理模式
-s <ss_server_ip> 强制指定ss服务器地址,不自动选择
-n <dns_server_ip:port> 强制指定纯净 dns 服务器

ex:

sh ./ss.sh start
sh ./ss.sh restart
sh ./ss.sh stop
sh ./ss.sh flush_nat
sh ./ss.sh update_rule
sh ./ss.sh -h
ss ./ss.sh -d 1 -m 2 -s xx.xx.xx.xx -n 114.114.114.114:53

merlin-ss's People

Contributors

sihan001 avatar

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.