Install SoftEther server on Linux CentOS 7.2
We will take a look at hot to install SoftEther VPN on CentOS 7 and connect to it from Windows system running VPN manager.
1. We install CentOS 7 minimal with firewalld and selinux disabled. Make sure gcc is installed with all updates
yum update -y yum install gcc
2. Download softether-vpnserver* package for Linux and place it in /opt directory on linux server
3. Extract vpn server package
tar xzvf softether-vpnserver-v4.28-9669-beta-2018.09.11-linux-x64-64bit.tar.gz
4. Create executable file
cd /opt/vpnserver/ make Do you want to read the License Agreement for this software ? 1. Yes 2. No Please choose one of above number: 1
Agree to license agreement
5. Move vpnserver directory to /usr/local
cd /opt mv vpnserver /usr/local/
6. Make sure correct permission are set for all vpn files
cd /usr/local/vpnserver/ chmod 600 * chmod 700 vpncmd chmod 700 vpnserver
7. Register startup script
vi /etc/init.d/vpnserver #!/bin/sh # chkconfig: 2345 99 01 # description: SoftEther VPN Server DAEMON=/usr/local/vpnserver/vpnserver LOCK=/var/lock/subsys/vpnserver test -x $DAEMON || exit 0 case "$1" in start) $DAEMON start touch $LOCK ;; stop) $DAEMON stop rm $LOCK ;; restart) $DAEMON stop sleep 3 $DAEMON start ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 esac exit 0
8. Change permissions on the script
chmod 755 /etc/init.d/vpnserver
9. Allow script to startup automatically
/sbin/chkconfig --add vpnserver
To start service
/etc/init.d/vpnserver start
You can install VPN-Server manager on any windows system that can be connected to VPN Linux server via IP and start vpn configuration