仓酷云

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1460|回复: 9
打印 上一主题 下一主题

[CentOS(社区)] 带来一篇CentOS6.6下搭建OpenVPN办事器

[复制链接]
乐观 该用户已被删除
跳转到指定楼层
楼主
发表于 2015-1-14 20:17:54 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
欢迎大家来到仓酷云论坛!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、装置前筹办
[size=1em][size=1em]#封闭selinux
[size=1em]setenforce0

[size=1em]sed-i/^SELINUX=/cSELINUX=disabled/etc/selinux/config

[size=1em]
[size=1em]#装置openssl和lzo,lzo用于紧缩通信数据加速传输速率
[size=1em]yum-yinstallopensslopenssl-devel
[size=1em]yum-yinstalllzo
[size=1em]
[size=1em]#装置epel源
[size=1em]rpm-ivhhttp://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
[size=1em]sed-is/^mirrorlist=https/mirrorlist=http//etc/yum.repos.d/epel.repo



2、装置及设置OpenVPN和easy-rsa
[size=1em][size=1em]#装置openvpn和easy-rsa
[size=1em]yum-yinstallopenvpneasy-rsa

[size=1em]

[size=1em]#修正vars文件
[size=1em]cd/usr/share/easy-rsa/2.0/
[size=1em]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;">[size=1em]#修正注册信息,好比公司地点、公司称号、部分称号等。
[size=1em]exportKEY_COUNTRY="CN"
[size=1em]exportKEY_PROVINCE="Shandong"
[size=1em]exportKEY_CITY="Qingdao"
[size=1em]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。
乐观 该用户已被删除
5#
 楼主| 发表于 2015-2-6 01:04:39 | 只看该作者
我想即使Linux高手也很难快速准确精练的回答你。
admin 该用户已被删除
6#
发表于 2015-2-14 19:32:52 | 只看该作者
甚至目前许多应用软件都是基于它的。可是没有哪一个系统是十分完美的。
只想知道 该用户已被删除
7#
发表于 2015-3-4 10:27:10 | 只看该作者
编程学习及开发,Linux是免费,开源的操作系统,并且可开发工具相当多,如果您支持自由软件,一定要同广大热爱自由软件人士一同为其不懈努力。
第二个灵魂 该用户已被删除
8#
发表于 2015-3-11 18:19:58 | 只看该作者
笔者五分钟后就给出了解决方法: “首先备份原文件到其他目录,然后删掉/usr/local/unispim/unispimsp.ksc,编辑 /usr/local/unispim/unispimsp.ini,最后重启动计算机
老尸 该用户已被删除
9#
发表于 2015-3-19 09:22:13 | 只看该作者
这种补充有助于他人在邮件列表/新闻组/论坛中搜索对你有过帮助的完整解决方案,这可能对他们也很有用。
活着的死人 该用户已被删除
10#
发表于 2015-3-27 20:24:30 | 只看该作者
Windows有MS-DOS?方式,在该方式下通过输入DOS命令来操作电脑;Linux与Windows类似,也有命令方式,Linux?启动后如果不执行?X-WINDOWS,就会处于命令方式下,必须发命令才能操作电脑。?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|仓酷云 鄂ICP备14007578号-2

GMT+8, 2024-5-19 11:53

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表