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.
-
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.
- 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
- 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
- SDK settings
make defconfig
make menuconfig
Change "Target System" for your OpenWrt.
Visit "Network/VPN/SoftEther VPN", Check what you need.
- Build the package
make prepare
make package/softethervpn/compile V=99
You can find packages from ./bin directory if compile succeed.
- Install to OpenWrt
SoftEther VPN need some packages.
- zlib
- libpthread
- librt
- libreadline
- libncurses
- libiconv-full
- kmod-tun
- libopenssl
- 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