登录Sofether下载网站 http://softether-download.com/cn.aspx 查看最新的版本及下载地址,并用wget命令下载: 注意:请区分你的系统,下载你系统对应的文件,如果不知道,可以先ARM64 或 Intel x64 如果编译不出错,则代表正常
登录Sofether下载网站
http://softether-download.com/cn.aspx
查看最新的版本及下载地址,并用wget命令下载:
注意:请区分你的系统,下载你系统对应的文件,如果不知道,可以先ARM64 或 Intel x64 如果编译不出错,则代表正常
wget https://www.softether-download.com/files/softether/v4.43-9799-beta-2023.08.31-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-x64-64bit.tar.gz
下载完毕后用解压
tar zxf softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-x64-64bit.tar.gz
进入解压后的目录: cd vpnserver
编译:make
(如果编译出错,请下载对应您系统的安装包)
启动
./vpnserver start
把Softether VPN Server添加到开机启动
chmod +x /etc/rc.d/rc.local
vim /etc/rc.d/rc.local
在最后面加上 /root/vpnserver/vpnserver start
最后使用 SoftEther VPN Server 管理工具
最后使用 SoftEther VPN Server 管理工具 配置即可
若 SoftEther VPN Server 管理工具 无法连接,需要配置防火墙
1、默认Softether监听端口有443,992,1194,5555端口。这里以放开5555端口为管理端口为例,以便Windows端的“SoftEther VPN Server 管理工具”能够通过这个端口连接到这台服务器。
输入命令:firewall-cmd --zone=public --add-port=5555/tcp --permanent
2、重新加载防火墙配置:
firewall-cmd --reload
这样,就可以在Windows端的“SoftEther VPN Server 管理工具”中添加并管理该服务器了
评论与回复 0
说说你的看法,或者补充文章里没提到的细节。