Build SoftEtherVPN without MAC and IP limit


1. Download source file SoftEtherVPN

cd /usr/local/src/
git clone https://github.com/SoftEtherVPN/SoftEtherVPN.git SoftEtherVPN 
cd SoftEtherVPN 

2. Editing file Cedar.h 

#define MAC_MIN_LIMIT_COUNT       6           // Minimum number of MAC addresses
#define IP_MIN_LIMIT_COUNT           8           // Number of IPv4 addresses minimum
#define IP_MIN_LIMIT_COUNT_V6    10        // Number of IPv6 addresses minimum

3. Install the following software to build SoftEther VPN for UNIX

FreeBSD, Linux, Mac OS 
- GNU Compiler Collectipon (gcc) and binary utilities
- GNU Make (gmake)
- GNU C Library (glibc).
- POSIX Threads (pthread).
- OpenSSL (crypto, ssl).
- libiconv.
- readline.
- ncurses.

4. Build program

$ ./configure
$ make
$ make install

5.  Replace vpnserver with new binary file.

Комментарии

Популярные сообщения