Home

Awesome

ShadowsocksR-libev-full for OpenWrt

简介

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

预编译 LEDE ipk 下载

特性

编译

   
   # 以 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
   

配置

截图

luci000 luci001 luci002 luci003

感谢

Makefile参考 openwrt-shadowsocks