安装依赖包

yum update yum groupinstall "Development Tools" yum install zlib-devel openssl-devel readline-devel ncurses-devel wget tar dnsmasq net-tools iptables-services system-config-firewall-tui vim

yum update

yum groupinstall "Development Tools"

yum install zlib-devel openssl-devel readline-devel ncurses-devel wget tar dnsmasq net-tools iptables-services system-config-firewall-tui vim

关闭SElinux

sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config

暂时停用防火墙

service iptables stop

chkconfig iptables off

systemctl disable firewalld

systemctl stop firewalld

下载最新SoftEther源码:http://www.softether-download.com/cn.aspx

CentOS 7 安装配置 SoftEther VPN服务端

wget

解压

tar xzvf

执行make

cd /root/vpnserver/

make

回答3个问题,全部选择1,同意协议。

启动vpnserver:

/root/vpnserver/vpnserver start