Skip to content

Forked from bettermanbao/openwrt-shadowsocksR-libev-full

License

Notifications You must be signed in to change notification settings

amoboy/SSR_OPENWRT_FULL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShadowsocksR-libev-full for OpenWrt

简介

本项目是 ShadowsocksR-libev 在 OpenWrt 上的移植。
当前版本: v20170613

预编译 LEDE ipk 下载

特性

  • shadowsocksR-libev

    官方原版客户端

    可执行文件 ssr-{local,redir}
    默认启动:
    ssr-local 提供 SOCKS 代理

  • shadowsocksR-libev-gfwlist

    集成GFWList的一键安装包,含Luci界面。

    可执行文件 ssr-redir
    默认启动:
    ssr-redir 提供透明代理
    依赖DNS-Forwarder进行DNS-TCP转发。  

    使用opkg安装ipk包时,必须带上--force-overwrite参数!    

编译

  • 从 lede 的 SDK 编译
   
   # 以 ubuntu 14.04 x86_64 为例
   apt-get update
   apt-get install software-properties-common xz-utils build-essential ccache git libncurses5-dev libncursesw5-dev gawk
   
   # ubuntu 14.04 以后的版本不需要这一步
   add-apt-repository ppa:ubuntu-toolchain-r/test
   apt-get update
   apt-get install libstdc++6-4.7-dev libstdc++6
   
   # 下载lede-SDK,以ramips为例
   wget https://downloads.lede-project.org/releases/17.01.2/targets/ramips/mt7620/lede-sdk-17.01.2-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64.tar.xz
   tar xf lede-sdk-17.01.2-ramips-mt7620_gcc-5.4.0_musl-1.1.16.Linux-x86_64.tar.xz
   cd lede-sdk-*
   
   # 一些杂七杂八的坑
   ./scripts/feeds update base
   ./scripts/feeds update packages
   ./scripts/feeds install libpcre libopenssl libopenssl libmbedtls
   wget -P package/feeds/base/mbedtls/patches https://github.com/bettermanbao/lede/raw/lede-17.01.2/package/libs/mbedtls/patches/999-tweak-config-for-shadowsocks.patch
   
   # git clone openwrt-shadowsocksR-libev-full
   git clone -b master https://github.com/bettermanbao/openwrt-shadowsocksR-libev-full.git package/shadowsocksR-libev-full
   
   # 选择要编译的包 Network -> shadowsocksr-libev
   make menuconfig
   
   # 开始编译
   make package/shadowsocksR-libev-full/compile V=s
   

配置

  • shadowsocks-libev 配置文件: /etc/shadowsocksr.json

截图

luci000 luci001 luci002 luci003

感谢

Makefile参考 openwrt-shadowsocks


About

Forked from bettermanbao/openwrt-shadowsocksR-libev-full

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 60.4%
  • Lua 21.8%
  • Shell 12.0%
  • HTML 5.8%