笨猫博客

  • 🍟首页
  • 🍘目录
    • 🥝VPS教程
    • 🍾猫玩技术
    • 🍹干货分享
    • 🍏软件分享
    • 🍩一只猫
  • 🍋工具
    • 🌽IP路由追踪
    • 🍐域名Whois查询
    • 🥘域名被墙查询
    • 🍧IP正常检测
    • 🔥IP端口检测
    • 🍆短网址
    • 🐟VIP音乐播放
    • 🍯KMS激活
  • 🍓链接
  • 🍪联系
  • 🍱登录
    • 🥦登录
    • 🍒注册
关注互联网,生活,音乐,乐此不疲的一只笨猫
  1. 首页
  2. VPS教程
  3. 正文

SoftEther VPN Server (VPN Gate) 安装笔记

2015-12-30 18882点热度 2人点赞 0条评论

SoftEther VPN一款开放源代码的软件,每个VPN Gate公共VPN中继服务器是分佈式的,并由许多志愿者托管,每个志愿者花費极少量的贷款成本和CPU时间在他的VPN服务器上,VPN Gate服务可以免费給大家使用。

本文只是纯技术交流,请勿做违法用途.

使用SoftEther VPN可以非常方便的建立和管理我们的虚拟专用网络。

环境

Ubuntu 12.10

安装

apt-get update
apt-get install build-essential

vpn server的下载地址和安装过程

wget -c http://www.softether-download.com/files/softether/v4.10-9473-beta-2014.07.12-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.10-9473-beta-2014.07.12-linux-x64-64bit.tar.gz
tar zxf softether-vpnserver-v1.00-9029-rc2-2013.03.16-linux-x64-64bit.tar.gz
cd vpnserver
sudo make i_read_and_agree_the_license_agreement

在目录下,执行

sudo ./vpnclient start

即打开了 softether vpn 服务。

设置

设置远程管理密码,开启远程管理,方便我们在远程用windows管理。

运行 ./vpncmd

root@server:~/vpnserver# ./vpncmd
vpncmd command - SoftEther VPN Command Line Management Utility
SoftEther VPN Command Line Management Utility (vpncmd command)
Version 4.10 Build 9473   (English)
Compiled 2014/07/12 02:33:15 by yagi at pc26
Copyright (c) SoftEther VPN Project. All Rights Reserved.
By using vpncmd program, the following can be achieved. 
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]
Specify the host name or IP address of the computer that the destination VPN Server or VPN Bridge is operating on. 
By specifying according to the format 'host name:port number', you can also specify the port number. 
(When the port number is unspecified, 443 is used.)
If nothing is input and the Enter key is pressed, the connection will be made to the port number 8888 of localhost (this computer).
Hostname of IP Address of Destination:[在这里敲回车键] 
If connecting to the server by Virtual Hub Admin Mode, please input the Virtual Hub name. 
If connecting by server admin mode, please press Enter without inputting anything.
Specify Virtual Hub Name: [在这里敲回车键] 
Connection has been established with VPN Server "localhost" (port 443).
You have administrator privileges for the entire VPN Server.
VPN Server>[输入ServerPasswordSet]
ServerPasswordSet command - Set VPN Server Administrator Password
Please enter the password. To cancel press the Ctrl+D key.
Password: [输入你的密码]
Confirm input: [再次输入你的密码]

此时,可以进行远程管理了.

windows 上远程管理 softether vpn

首先去 softether 下载 windows版本管理端.


下载好后,运行如下图,s.sadk.org 是我之前建立好的一个.

  • 点击[新设置]进行配置,www.sadk.org是我的服务器.下面注意输入你刚才设置的管理密码.最后点击[确定]
  • 在三个VPN Server类型中选择 [远程访问 VPN Server],点击[下一步].
  • 提示虚拟 HUB 名,默认即可.点击[确定]
  • 动态 DNS 功能,这里直接点[退出].因为我们的服务器基本上都是静态ip.ps:不清楚这域名有没有被墙掉.
  • IPsec / L2TP / EtherIP / L2TPv3 设置,这里可以安装你的需要进行设置.貌似l2tp已经可以被检测到了.我这里都没钩.直接点[确定]
  • VPN Azure,我这选择的禁用.貌似可以启用后,可以组建局域网?
  • 接下来是创建用户.
  • 用户名是必须的.注意选密码验证.接下来点[确定]就ok.
  • 接下来可以看到已经建立好的账户.
  • 最后回到www.sadk.org,这台服务器的管理界面.
  • 还没完,点击[管理虚拟 HUB]
  • 点击[虚拟 NAT 和虚拟 DHCP 服务器],[启用 SecureNAT]

注意:如果你只是通过VPN Server做代理上网,你可以直接打开SecureNAT即可完成配置;如果你是通过VPN访问服务器所在的工作网络(其实这才是VPN的本来用途),而且服务器的IP地址是其所在网络的DHCP服务器所分配,那么不需要打开SecureNAT,而是要将Server的物理网卡桥接到虚拟HUB上;如果服务器所在网络属于静态IP,那么你要么手动配置客户端的虚拟网卡的IP,要么就需要配置SecureNAT,这需要你了解IPv4地址的配置方式。

标签: SoftEther
最后更新:2015-12-30

笨猫

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

最新 热点 随机
最新 热点 随机
IP-Sentinel 分布式哨兵系统v3.1.0重装上阵!让你的小鸡完美伪装成“当地人” NodeWarden -云端备份、大附件处理、直传链路 和 网页端密码库体验 it-toolbox开发者工具箱 — 72 款实用工具,基于 Cloudflare Pages Functions 全栈部署 OpenClaw图形化一键安装/卸载工具吧 Telegram 创建 bot 获取 token 和 chatId 以及发送消息最新教程 AcePanel(原耗子面板)3.0 正式发布
IP-Sentinel 分布式哨兵系统v3.1.0重装上阵!让你的小鸡完美伪装成“当地人”
云溪溪-奶桃 分享 CentOS更换内核,提供锐速可用的内核下载 下载利器IDM v6.40.11绿色版 Debian 安装使用 Cloud内核降低内存消耗 Debian10使用rclone挂载Google云端硬盘网盘 CentOS下shadowsocks-nodejs一键安装脚本
最近评论
Web Harmonium 发布于 1 周前(04月20日) Stash 的界面看起来比小火箭清爽直观多了,2.99美元的价格也算合理,感谢提醒,不手动修改策略组...
Web Harmonium 发布于 1 周前(04月20日) 这个教程很实用,特别是关于从URL下载配置的步骤讲解得很清楚,让新手上手变得简单多了!
09君 发布于 2 个月前(03月13日) 来访。给你点赞了,工具很不错。很难绷不住的是,全民普及还没到一个月,就开始全民卸载了。
芝雩 发布于 2 个月前(02月28日) 您好,请问下为什么我搭建的ghost,他的后台配置页面是纯英文的,ghostCLI 是20.20.0...
C 发布于 3 个月前(02月06日) 早就听说这个面板了,竟然是你开发的,厉害啊
标签
elliptictrue100.10.02
BLOG ChatGPT Chrome CloudFlare DirectAdmin github Godaddy google kloxo Linux OneDrive OneIndex PHP QQ shadowsocks SNS ssh Typecho VPS web2.0 whmcs Windows wordpress 一键脚本 下载 免费 博客 图文教程 图标 图片 域名 头像 奥运 宝塔面板 插件 教程 日记 有趣 浏览器 游戏 猫 生活 电影 百度 网站 视频 设计 软件 阿里云盘 音乐
好友
  • glzjin's blog glzjin's blog
  • ZAERA博客
  • 冰沫记
  • 奇它博客
  • 猫腻‘s Blog
  • 猫饭
  • 肥宅之家
  • 萌博
  • 野路子程序员

COPYRIGHT © 2022 笨猫博客. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang