Coder Social home page Coder Social logo

openwrt-package-softether's Introduction

SoftEther VPN for OpenWrt

Your router is if ar71xx, You do not need build steps.
You can get binary package from http://b.mikomoe.jp/.

If need compile for OpenWrt 12.09, See old README.MD

If you are japanese or could read japanese, Visit my blog.
This entry too old.
If possible, Please read this README.MD.

Note

  • No more need customized libopenssl for Jan 15, 2015 or later version.

  • Every SoftEther VPN packages did integrated for Feb 10, 2015 or later version. Binary has function of vpnserver/vpnclient/vpnbridge/vpncmd like busybox now. Uninstall all the SoftEther VPN packages if you will update from old version.

Compile and Install

  1. Install the packages required to compile

Example for debian.

apt-get install -y subversion make gcc g++ libncurses5-dev libghc-zlib-dev libreadline-dev libssl-dev gawk bzip2 patch xz-utils sudo
  1. Get OpenWrt SDK and prepare for compile
svn co svn://svn.openwrt.org/openwrt/branches/barrier_breaker
cd barrier_breaker

Add following line to feeds.conf file. If file not exists, Add line after copy feeds.conf.default to feeds.conf.

src-git softethervpn https://github.com/el1n/OpenWRT-package-softether.git

Update feeds and Install SoftEther VPN.

./scripts/feeds update
./scripts/feeds install softethervpn
  1. SDK settings
make defconfig
make menuconfig

Change "Target System" for your OpenWrt.
Visit "Network/VPN/SoftEther VPN", Check what you need.

  1. Build the package
make prepare
make package/softethervpn/compile V=99

You can find packages from ./bin directory if compile succeed.

  1. Install to OpenWrt

SoftEther VPN need some packages.

  • zlib
  • libpthread
  • librt
  • libreadline
  • libncurses
  • libiconv-full
  • kmod-tun
  • libopenssl
  1. Execute

Press "Start" from "System -> Startup" in the LuCI.

If you want run SoftEther VPN in a shell, You need set the LANG environment variable and execute the SoftEther VPN.

/usr/bin/env LANG=en_US.UTF-8 /usr/bin/vpnserver start

openwrt-package-softether's People

Contributors

el1n avatar

Watchers

James Cloos avatar ppc 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.