SoftEther VPN

2021年02月26日 | 分类: VPN | 评论: 0 | 浏览: 1662

使用 SoftEther VPN 搭建虚拟局域网

https://www.mivm.cn/softether-vpn-lan/

下载地址:https://www.softether-download.com/


linux客户端

https://www.cnblogs.com/she11s/p/12262650.html

https://blog.csdn.net/sqlite_me/article/details/108511533


设置固定ip

AccountCreate 1
	终端 VPN Server 主机名和端口号: 127.0.0.1:5555

	终端虚拟 HUB 名称: DEFAULT

	连接用户名: root

	使用虚拟 LAN 卡名称: VPN

AccountPasswordSet 1 /PASSWORD:123456 /TYPE:standard
AccountStartupSet 1
AccountConnect 1
AccountList

ifconfig vpn_vpn 192.168.3.2 netmask 255.255.255.0

openvpn

openvpn记住用户名和密码,自动连接

1, 打开openvpn安装目录

2, 在config目录中, 找到VPN服务器的配置文件, 我的是config.ovpn,将 auth-user-pass (若已经存在)改为 auth-user-pass pass.txt。 如果没有,新添加一行即可。

3, 在config目录中, 新建一个pass.txt文件, 里面填写vpn的用户名(帐号), 和密码。 分两行,一行用户名,一行密码。

4,重新打开VPN,就发现可以自动连接了。

arm64 安装 https://blog.csdn.net/angelxy1573/article/details/102672743

[Unit]
Description=SoftEther VPN Server
After=network.target

[Service]
Type=forking
ExecStart=/usr/local/vpnserver/vpnserver start
ExecStop=/usr/local/vpnserver/vpnserver stop
RestartSec=3

[Install]
WantedBy=multi-user.target


顶一下 ▲()
踩一下 ▼()
发表留言
登录后才能发表留言,立即 登录注册
提交 (Ctrl+Enter)
Copyright 2020-2024 xaoi博客 All Rights Reserved.