

输入 standard 4.1 连接服务器 VPN Client>AccountConnect tkjpĪccountConnect command - Start Connection to VPN Server using VPN Connection Setting The command completed successfully. 输入从 GFW VPN申请的密码 Specify standard or radius: standard 设置密码 VPN Client>AccountPasswordSet tkjp AccountPasswordSet command - Set User Authentication Type of VPN Connection Setting to Password Authentication Please enter the password. 提示输入用户名 AccountUsernameSet command - Set User Name of User to Use Connection of VPN Connection Setting Connecting User Name: sample.vpnĪccountImport command - Import VPN Connection Setting The VPN Connection Setting “tkjp” has been imported. If nothing is input and Enter is pressed, connection will be made to localhost (this computer). 输入 2 来配置客户端设置 Specify the host name or IP address of the computer that the destination VPN Client is operating on. Use of VPN Tools (certificate creation and Network Traffic Speed Test Tool) Select 1, 2 or 3: 2 Management of VPN Server or VPN Bridge 2. By using vpncmd program, the following can be achieved. vpncmd vpncmd command - SoftEther VPN Command Line Management Utility SoftEther VPN Command Line Management Utility (vpncmd command) Version 4.34 Build 9745 (English) Compiled 5 23:39:56 by buildsan at crosswin Copyright (c) SoftEther VPN Project. rvice的内容如下 Description=SoftEther VPN Client After=network.target network-online.target ExecStart=/usr/local/vpnclient/vpnclient start ExecStop=/usr/local/vpnclient/vpnclient stop Type=forking RestartSec=3s WantedBy=multi-user.target 2.2 使用 systemctl 命令启动并启用该服务。 sudo systemctl start vpnclient sudo systemctl enable vpnclient 3.客户端配置 3.1 使用 vpncmd 来设置客户端 sudo. sudo mv vpnclient/ /usr/local/ cd /usr/local sudo chown -R root:root vpnclient cd vpnclient sudo chmod 600 * sudo chmod 700 vpncmd sudo chmod 700 vpnclient 2.创建服务并启用 2.1 创建服务 sudo vim /etc/systemd/system/rvice
