Giter VIP home page Giter VIP logo

openwrt-shadowvpn's Introduction

ShadowVPN for OpenWrt

简介

本项目是 ShadowVPN 在 OpenWrt 上的移植
当前版本: 0.2.0-1
预编译 IPK 下载

编译

  • 从 OpenWrt 的 SDK 编译

    # 以 ar71xx 平台为例
    tar xjf OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2
    cd OpenWrt-SDK-ar71xx-*
    # 获取 Makefile
    git clone https://github.com/aa65535/openwrt-shadowvpn.git package/shadowvpn
    # 选择要编译的包 Network -> ShadowVPN
    make menuconfig
    # 开始编译
    make package/shadowvpn/compile V=99

配置

  • 多用户配置参考 Wiki

  • 建议搭配 ChinaDNS-C 使用, 以获得更好的使用体验

  • 使用 路由控制 控制流量是否走 VPN

    默认不带路由文件, 可读取 ChinaDNS-C 的 chnroute 生成国内路由规则, 否则为全局模式.

  • 关于 LuCI 中路由表设置(uci: route_mode)

    • 全局模式(0): 启动后全部流量都经过 VPN

    • 国内路由(1): 路由文件中的 IP 将不经过 VPN, 如路由文件不存在则仍为全局模式

    • 国外路由(2): 只有路由文件中的 IP 经过 VPN, 如路由文件不存在则不使用 VPN


Name Description
openwrt-chinadns ChinaDNS-C for OpenWrt
openwrt-dnsmasq Dnsmasq Patch & Makefile for OpenWrt
openwrt-shadowsocks Shadowsocks-libev for OpenWrt
openwrt-redsocks2 RedSocks2 for OpenWrt
openwrt-dist-luci LuCI Applications for OpenWrt-dist

openwrt-shadowvpn's People

Contributors

aa65535 avatar mujjus avatar nemoalex avatar orzsun avatar

Watchers

 avatar  avatar  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.