安装和配置 VPN 泼妇-Linux

来自Chinese Ikoula Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

zh:安装和配置 VPN 泼妇-Linux pl:Instalowanie i Konfigurowanie sieci VPN złośnicy - Linux he:התקנה וקביעת תצורה של חדף VPN - לינוקס ro:Instalarea şi configurarea scorpiei VPN - Linux ru:Установка и настройка VPN белозубка - Linux ja:インストールとじゃじゃ馬 VPN - Linux を構成 ar:تثبيت وتكوين VPN زباب--لينكس de:Installation und Konfiguration von Shrew VPN - Linux nl:Installeren en configureren van Shrew VPN - Linux it:Installazione e configurazione VPN toporagno - Linux pt:Instalando e Configurando o musaranho VPN - Linux es:Instalación y configuración de VPN musaraña - Linux en:Installing and configuring Shrew VPN - Linux fr:Installation et configuration Shrew VPN - Linux

这篇文章是从由软件进行自动翻译。你可以看到这篇文章的源代码

介绍

ShrewSoft VPN 客户端的安装和配置 (Ubuntu 14.04 和 Debian 7)对于远程 VPN 连接 Ipsec.

地方

软件包下载 [1] 在正式 (2.2.1 在这篇文章创建时间 )

在我们的例子中我们将在上传 /var/tmp

cd /var/tmp
wget https://www.shrew.net/download/ike/ike-2.2.1-release.tgz

解压包下载

 tar -zxvf ike-2.2.1-release.tgz 

ShrewSoft 所需的依赖项安装

 apt-get install cmake libqt4-core libqt4-dev libqt4-gui libedit-dev libssl-dev checkinstall flex bison 

建造和安装的文件

 cd /var/tmp/ike
cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=YES -DETCDIR=/etc -DNATT=YES 

安装应用程序

 checkinstall -y 

创建配置文件

 cp /var/tmp/ike/source/iked/iked.conf.sample  /etc/iked.conf 

Ike 守护进程开始

 iked 

GUI 使用 ShrewSoft 启动

 qikea 

ShrewSoft VPN 客户端配置

Ipsec1.jpg

通过 qikea 命令发起的图形 ShrewSoft VPN 接口。


Ipsec2.jpg

选项卡 "一般 "

填补 "主机名或 IP 地址 " 来自您的防火墙的信息。


Ipsec3.jpg

选项卡 "客户端 "

保留默认值。


Ipsec4.jpg

选项卡 "NameResolution "

保留默认值。


Ipsec5.jpg

选项卡 "身份验证 "

更改 "身份验证方法 " 为 "相互的 PSK + XAuth ".

在选项卡 "本地身份 "把 "标识类型 " 对 "IP 地址 ".


Ipsec6.jpg

离开默认选项卡 "远程身份 ".


Ipsec7.jpg

选项卡 "凭据 "

复制 /粘贴你 "预共享密钥 ".


Ipsec8.jpg

选项卡 "相 1"

填充选项卡 "相 1" 取决于您的防火墙设置。

注意,值 "交换类型 " 我们推荐那个地方 "主要 " 因为所有的防火墙不是与模式兼容 "侵略性 ".


Ipsec9.jpg

选项卡 "相 2"

同样作为为 "相 1"更改的值根据您的防火墙设置。


Ipsec10.jpg

选项卡 "政策 "

让 默认情况下。


Ipsec11.jpg

备份您的配置。

启动 VPN 并输入您的用户名和密码。

注意

注意,ShrewSoft VPN 客户端是不兼容的 VPN L2TP 在 Ipsec.



这篇文章似乎你要有用 ?

0



您未被允许发表评论。