1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 01:49:53 +03:00
SoftEtherVPN/src/BUILD_UNIX.md

149 lines
3.7 KiB
Markdown
Raw Normal View History

2014-01-04 17:00:08 +04:00
How to build SoftEther VPN for UNIX
===================================
Requirements
------------
You need to install the following software to build SoftEther VPN for UNIX.
- Linux, FreeBSD, Solaris or Mac OS X.
- GNU Compiler Collectipon (gcc) and binary utilities.
- GNU Make (gmake).
- GNU C Library (glibc).
- POSIX Threads (pthread).
- OpenSSL (crypto, ssl).
- libiconv.
- readline.
- ncurses.
For example, the following commands help you to install the above programs
on Fedora or CentOS Linux:
```
2014-01-04 17:00:08 +04:00
$ yum -y groupinstall "Development Tools"
$ yum -y install readline-devel ncurses-devel openssl-devel
```
2014-01-04 17:00:08 +04:00
How to Build
------------
To build the programs from the source code, run the following commands:
```
2014-01-04 17:00:08 +04:00
$ ./configure
$ make
```
2014-01-04 17:00:08 +04:00
If any error occurs, please check the above requirements.
How to Install SoftEther VPN Server, Bridge or Client
-----------------------------------------------------
To install the vpnserver, vpnbridge and vpnclient programs into the
/usr/bin directory, run the following as the root user:
```
2014-01-04 17:00:08 +04:00
# make install
```
2014-01-04 17:00:08 +04:00
After the installation will complete successfully:
- Execute 'vpnserver start' to run the SoftEther VPN Server background service.
- Execute 'vpnbridge start' to run the SoftEther VPN Bridge background service.
- Execute 'vpnclient start' to run the SoftEther VPN Client background service.
- Execute 'vpncmd' to run SoftEther VPN Command-Line Utility to configure
VPN Server, VPN Bridge or VPN Client.
- You can also use VPN Server/Client Manager GUI Tool on other Windows PC to
connect to VPN services remotely.
You can download the GUI Tools from http://www.softether-download.com/.
How to Run SoftEther VPN Server for Test
----------------------------------------
To start the SoftEther VPN Server background service, run the following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpnserver/vpnserver start
```
2014-01-04 17:00:08 +04:00
To stop the service, run the following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpnserver/vpnserver stop
```
2014-01-04 17:00:08 +04:00
To configure the running SoftEther VPN Server service,
you can use SoftEther VPN Command Line Management Utility as following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpncmd/vpncmd
```
2014-01-04 17:00:08 +04:00
Or you can also use VPN Server Manager GUI Tool on other Windows PC to
connect to the VPN Server remotely. You can download the GUI Tool
from http://www.softether-download.com/.
How to Run SoftEther VPN Bridge for Test
----------------------------------------
To start the SoftEther VPN Bridge background service, run the following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpnbridge/vpnbridge start
```
2014-01-04 17:00:08 +04:00
To stop the service, run the following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpnbridge/vpnbridge stop
```
2014-01-04 17:00:08 +04:00
To configure the running SoftEther VPN Bridge service,
you can use SoftEther VPN Command Line Management Utility as following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpncmd/vpncmd
```
2014-01-04 17:00:08 +04:00
Or you can also use VPN Server Manager GUI Tool on other Windows PC to
connect to the VPN Bridge remotely. You can download the GUI Tool
from http://www.softether-download.com/.
How to Run SoftEther VPN Client for Test
----------------------------------------
To start the SoftEther VPN Client background service, run the following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpnclient/vpnclient start
```
2014-01-04 17:00:08 +04:00
To stop the service, run the following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpnclient/vpnclient stop
```
2014-01-04 17:00:08 +04:00
To configure the running SoftEther VPN Client service,
you can use SoftEther VPN Command Line Management Utility as following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpncmd/vpncmd
```
2014-01-04 17:00:08 +04:00
Or you can also use VPN Client Manager GUI Tool on other Windows PC to
connect to the VPN Client remotely. You can download the GUI Tool
from http://www.softether-download.com/.
************************************
Thank You Using SoftEther VPN !
By SoftEther VPN Open-Source Project
http://www.softether.org/