SoftEther 安装过程
安装softether VPN服务端
$ apt install softether-server
$ systemctl start softether-vpnserver
$ systemctl status softether-vpnserver
● softether-vpnserver.service - SoftEther VPN Server
Loaded: loaded (/lib/systemd/system/softether-vpnserver.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2022-08-19 15:29:52 CST; 39min ago
Main PID: 690493 (vpnserver)
Tasks: 45 (limit: 16777216)
Memory: 30.7M
CPU: 1min 12.007s
CGroup: /system.slice/softether-vpnserver.service
├─690493 /usr/libexec/softether/vpnserver/vpnserver execsvc
$ vpncmd
vpncmd command - SoftEther VPN Command Line Management Utility Developer Edition
······SNIP·······
1. Management of VPN Server or VPN Bridge
2. Management of VPN Client
3. Use of VPN Tools (certificate creation and Network Traffic Speed Test Tool)
Select 1, 2 or 3:
依次输入1、回车、回车。进入默认HUB,设置管理服务器密码:ServerPasswordSet
使用图形化服务器管理软件轻松配置
创建用户
创建本地桥,桥接物理网络接口并使用
开启IPsec/L2TP VPN功能,终端连接
客户端成功连接
IPsec/L2TP连接
linux
- sudo apt-get update
- sudo apt-get install network-manager-l2tp-gnome
- sudo apt-get install xl2tpd
网络设置-添加vpn