# OpenWRT-package-softether **Repository Path**: houtian213/OpenWRT-package-softether ## Basic Information - **Project Name**: OpenWRT-package-softether - **Description**: - - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-07-11 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README SoftEther VPN for OpenWrt = This project is merged to OpenWRT main tree on Dec 7, 2016 by [fededim](https://github.com/fededim), Thanks Federico ! If you do not need own binary, install from the OpenWRT package repository is recommended. = Your router is if ar71xx or brcm47xx, 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](https://github.com/el1n/OpenWRT-package-softether/blob/7dc4c4ce19da9aa7dc2330e2dbbdc4d3e4dd4fcc/README.md). See [Alberts00](https://github.com/Alberts00)'s blog if you want more detailed guide. Also you can download SE4WRT Chaos Calmer(15.05) build from his website. If you are japanese or could read japanese, Visit [my blog](http://elin.mikomoe.jp/index.php?entry=OpenWRT%E3%81%A7SoftEther-VPN%E3%82%92%E5%8B%95%E3%81%8B%E3%81%99). Since this entry too old, i recommend read this README.MD if possible. 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. + WebUI is no longer available for Mar 8, 2016 or later version. + Languages except english no longer available for Mar 8, 2016 or later version. + ~~pdf file no longer contain when generate a sample configuration file for openvpn for Mar 8, 2016 or later version.~~ + readme file no longer contain when generate a sample configuration file for openvpn for Mar 9, 2016 or later version. New package size is smaller from 1.8MB to 1.0MB at these changes. + Removed region lock for Mar 9, 2016 or later version. Can be used some authentication function (Radius/Certificate/NT Domain) and syslog transmission in all region. 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 ``` 2. 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 ``` 3. SDK settings ``` make defconfig make menuconfig ``` Change "Target System" for your OpenWrt. Visit "Network/VPN/SoftEther VPN", Check what you need. 4. Build the package ``` make prepare make package/softethervpn/compile V=99 ``` You can find packages from ./bin directory if compile succeed. 5. Install to OpenWrt SoftEther VPN need some packages. + zlib + libpthread + librt + libreadline + libncurses + libiconv-full + kmod-tun + libopenssl 6. 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 ``` Thanks - + [Alberts00](https://github.com/Alberts00) + [fededim](https://github.com/fededim)