ubuntu部署softether
时间: 2024-02-04 08:03:00 浏览: 36
以下是在 Ubuntu 上部署 SoftEther VPN 的步骤:
1. 下载 SoftEther VPN Server
前往 SoftEther 官网下载适用于 Linux 的 SoftEther VPN Server。
```
wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.34-9745-beta/softether-vpnserver-v4.34-9745-beta-2020.04.05-linux-x64-64bit.tar.gz
```
2. 解压文件
```
tar zxvf softether-vpnserver-v4.34-9745-beta-2020.04.05-linux-x64-64bit.tar.gz
```
3. 进入解压后的目录
```
cd vpnserver
```
4. 编译 SoftEther VPN Server
```
make
```
5. 启动 SoftEther VPN Server
```
./vpnserver start
```
6. 设置管理员密码
```
./vpncmd
```
在 vpncmd 命令行中输入以下命令:
```
ServerPasswordSet
```
然后输入您想要设置的管理员密码。
7. 设置 SoftEther VPN Server 的监听端口
```
./vpncmd
```
在 vpncmd 命令行中输入以下命令:
```
ServerListen
```
然后输入您想要设置的监听端口。
8. 配置 SoftEther VPN Server
在 vpncmd 命令行中输入以下命令:
```
ServerConfigure
```
然后按照提示进行配置即可。
9. 启动 SoftEther VPN Server
```
./vpnserver start
```
至此,SoftEther VPN Server 已经部署完成并启动了。您可以使用 SoftEther VPN Client 连接该 VPN 服务器了。