Skip to content

Latest commit

 

History

History
74 lines (61 loc) · 1.88 KB

README.md

File metadata and controls

74 lines (61 loc) · 1.88 KB

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 you are japanese or could read japanese, Visit my blog.

Compile

  1. Install the packages required to compile

For debian.

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

SoftEther VPN uses SHA algorithm.
For default, it is not enabled.
You will need to enabled this.

sed -i 's/no-sha0//' package/openssl/Makefile

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 softethervpnserver
  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

And libopenssl, But can not use SHA algorithm in official build.
So install the libopenssl package that was build together with SoftEther VPN.

However results in "md5sum mismatch" error.
Delete the package list once to avoid this.

rm /var/opkg-lists/attitude_adjustment