乐观 发表于 2015-1-14 20:17:54

带来一篇CentOS6.6下搭建OpenVPN办事器

欢迎大家来到仓酷云论坛!OpenVPN是一个用于创立假造公用收集(VirtualPrivateNetwork)加密通道的收费开源软件。利用OpenVPN能够便利地在家庭、办公场合、留宿旅店等分歧收集会见场合之间搭建相似于局域网的公用收集通道。
利用OpenVPN共同特定的代办署理办事器,可用于会见Youtube、FaceBook、Twitter等受限网站,也可用于冲破公司的收集限定。
1、办事器端装置及设置
办事器情况:洁净的CentOS6.364位体系
内网IP:10.143.80.116
外网IP:203.195.***.***
OpenVPN版本:OpenVPN2.3.2x86_64-redhat-linux-gnu
1、装置前筹办
#封闭selinux
setenforce0
sed-i/^SELINUX=/cSELINUX=disabled/etc/selinux/config

#装置openssl和lzo,lzo用于紧缩通信数据加速传输速率
yum-yinstallopensslopenssl-devel
yum-yinstalllzo

#装置epel源
rpm-ivhhttp://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
sed-is/^mirrorlist=https/mirrorlist=http//etc/yum.repos.d/epel.repo



2、装置及设置OpenVPN和easy-rsa
#装置openvpn和easy-rsa
yum-yinstallopenvpneasy-rsa

#修正vars文件
cd/usr/share/easy-rsa/2.0/
vimvars



<divstyle="padding:0px;margin:0px;color:rgb(85,85,85);font-family:宋体,ArialNarrow,arial,serif;font-size:14px;line-height:28px;"><divclass="syntaxhighlighterplain"id="highlighter_296787"style="width:720px;padding:0px!important;margin:0.3em0px!important;border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;border:0px!important;bottom:auto!important;float:none!important;left:auto!important;line-height:1.1em!important;outline:0px!important;overflow-y:visible!important;overflow-x:auto!important;position:relative!important;right:auto!important;top:auto!important;vertical-align:baseline!important;box-sizing:content-box!important;font-family:Consolas,BitstreamVeraSansMono,CourierNew,Courier,monospace!important;font-size:1em!important;min-height:inherit!important;background-image:none!important;background-attachment:initial!important;background-size:initial!important;background-origin:initial!important;background-clip:initial!important;background-position:initial!important;background-repeat:initial!important;"><divclass="container"style="padding:0px!important;margin:0px!important;border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;border:0px!important;bottom:auto!important;float:none!important;left:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;position:relative!important;right:auto!important;top:auto!important;vertical-align:baseline!important;width:auto!important;box-sizing:content-box!important;font-size:1em!important;min-height:inherit!important;background:none!important;">#修正注册信息,好比公司地点、公司称号、部分称号等。
exportKEY_COUNTRY="CN"
exportKEY_PROVINCE="Shandong"
exportKEY_CITY="Qingdao"
exportKEY_ORG="MyOrganization"
<divclass="linenumber6index5alt1"style="white-space:nowrap;padding:0px1em!important;margin:0px!important;border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;border:0px!important;bottom:auto!important;float:none!important;left:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;position:static!important;right:auto!important;top:auto!important;vertical-align:baseline!important;width:auto!important;box-sizing:content-box!important;font-size:1em!important;min-height:inherit!important;background-image:none!important;background-attachment:initial!important;background-size:initial!important;background-origin:initial!important;background-clip:initial!important;background-position:initial!important;background-repeat:initial!important;">

灵魂腐蚀 发表于 2015-1-15 18:05:58

带来一篇CentOS6.6下搭建OpenVPN办事器

不用悠着,下载了。

小女巫 发表于 2015-1-20 09:56:00

发问的时候一定要注意到某些礼节。因为Linux社区是一个松散的组织、也不承担回复每个帖子的义务。它不是技术支持。

因胸联盟 发表于 2015-1-29 06:44:44

我们这一代90后,从小接触的是windows98,家里条件好的自己有电脑装的是2000,后来又有了XP,上大学时又有了win7。

乐观 发表于 2015-2-6 01:04:39

我想即使Linux高手也很难快速准确精练的回答你。

admin 发表于 2015-2-14 19:32:52

甚至目前许多应用软件都是基于它的。可是没有哪一个系统是十分完美的。

只想知道 发表于 2015-3-4 10:27:10

编程学习及开发,Linux是免费,开源的操作系统,并且可开发工具相当多,如果您支持自由软件,一定要同广大热爱自由软件人士一同为其不懈努力。

第二个灵魂 发表于 2015-3-11 18:19:58

笔者五分钟后就给出了解决方法: “首先备份原文件到其他目录,然后删掉/usr/local/unispim/unispimsp.ksc,编辑 /usr/local/unispim/unispimsp.ini,最后重启动计算机

老尸 发表于 2015-3-19 09:22:13

这种补充有助于他人在邮件列表/新闻组/论坛中搜索对你有过帮助的完整解决方案,这可能对他们也很有用。

活着的死人 发表于 2015-3-27 20:24:30

Windows有MS-DOS?方式,在该方式下通过输入DOS命令来操作电脑;Linux与Windows类似,也有命令方式,Linux?启动后如果不执行?X-WINDOWS,就会处于命令方式下,必须发命令才能操作电脑。?
页: [1]
查看完整版本: 带来一篇CentOS6.6下搭建OpenVPN办事器