VPN的英文全称是“Virtual Private Network”,翻译过来就是“虚拟专用网络”。顾名思义,虚拟专用网络我们可以把它理解成是虚拟出来的企业内部专线。它可以通过特殊的加密的通讯协议在连接在Internet上的位于不同地方的两个或多个企业内部网之间建立一条专有的通讯线路,就好比是架设了一条专线一样,但是它并不需要真正的去铺设光缆之类的物理线路。这就好比去电信局申请专线,但是不用给铺设线路的费用,也不用购买路由器等硬件设备。VPN技术原是路由器具有的重要技术之一,目前在交换机,防火墙设备或Windows等软件里也都支持VPN功能,一句话,VPN的核心就是在利用公共网络建立虚拟私有网。
虚拟专用网(VPN)被定义为通过一个公用网络(通常是因特网)建立一个临时的、安全的连接,是一条穿过混乱的公用网络的安全、稳定的隧道。虚拟专用网是对企业内部网的扩展。虚拟专用网可以帮助远程用户、公司分支机构、商业伙伴及供应商同公司的内部网建立可信的安全连接,并保证数据的安全传输。虚拟专用网可用于不断增长的移动用户的全球因特网接入,以实现安全连接;可用于实现企业网站之间安全通信的虚拟专用线路,用于经济有效地连接到商业伙伴和用户的安全外联网虚拟专用网。
PPTP 全称为 Point to Point Tunneling Protocol -- 点到点隧道协议,是VPN协议中的一种。
一、CentOS 5.3 下 PPTP VPN 服务器安装
1、安装相关软件
32位版:
64位版:
2、配置文件编写
①、配置文件/etc/ppp/options.pptpd
输入以下内容:
②、配置文件/etc/ppp/chap-secrets
输入以下内容
注:这里的myusername和mypassword即为PPTP VPN的登录用户名和密码
③、配置文件/etc/pptpd.conf
输入以下内容:
注:为拨入VPN的用户动态分配192.168.9.11~192.168.9.30之间的IP
④、配置文件/etc/sysctl.conf
修改以下内容:
保存、退出后执行:
3、启动PPTP VPN 服务器端:
4、启动iptables:
二、Windows 下 PPTP VPN 客户端配置
步骤不详述了,直接看图一步步进行:
![点击在新窗口中浏览此图片 点击在新窗口中浏览此图片](attachment.php?fid=45)
![点击在新窗口中浏览此图片 点击在新窗口中浏览此图片](attachment.php?fid=46)
![点击在新窗口中浏览此图片 点击在新窗口中浏览此图片](attachment.php?fid=47)
![点击在新窗口中浏览此图片 点击在新窗口中浏览此图片](attachment.php?fid=48)
![点击在新窗口中浏览此图片 点击在新窗口中浏览此图片](attachment.php?fid=49)
![点击在新窗口中浏览此图片 点击在新窗口中浏览此图片](attachment.php?fid=50)
![点击在新窗口中浏览此图片 点击在新窗口中浏览此图片](attachment.php?fid=51)
![点击在新窗口中浏览此图片 点击在新窗口中浏览此图片](attachment.php?fid=52)
![](https://cdn.phpts.cn/phpts/www/webstatic/img/logo@2x.png)
![](https://cdn.phpts.cn/phpts/images/software/phptsbnew.jpg)
虚拟专用网(VPN)被定义为通过一个公用网络(通常是因特网)建立一个临时的、安全的连接,是一条穿过混乱的公用网络的安全、稳定的隧道。虚拟专用网是对企业内部网的扩展。虚拟专用网可以帮助远程用户、公司分支机构、商业伙伴及供应商同公司的内部网建立可信的安全连接,并保证数据的安全传输。虚拟专用网可用于不断增长的移动用户的全球因特网接入,以实现安全连接;可用于实现企业网站之间安全通信的虚拟专用线路,用于经济有效地连接到商业伙伴和用户的安全外联网虚拟专用网。
PPTP 全称为 Point to Point Tunneling Protocol -- 点到点隧道协议,是VPN协议中的一种。
一、CentOS 5.3 下 PPTP VPN 服务器安装
1、安装相关软件
32位版:
yum install -y ppp iptables
wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.rhel5.i386.rpm
rpm -ivh pptpd-1.3.4-2.rhel5.i386.rpm
wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.rhel5.i386.rpm
rpm -ivh pptpd-1.3.4-2.rhel5.i386.rpm
64位版:
yum install -y ppp iptables
wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.rhel5.x86_64.rpm
rpm -ivh pptpd-1.3.4-2.rhel5.x86_64.rpm
wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.rhel5.x86_64.rpm
rpm -ivh pptpd-1.3.4-2.rhel5.x86_64.rpm
2、配置文件编写
①、配置文件/etc/ppp/options.pptpd
mv /etc/ppp/options.pptpd /etc/ppp/options.pptpd.bak
vi /etc/ppp/options.pptpd
vi /etc/ppp/options.pptpd
输入以下内容:
name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
proxyarp
lock
nobsdcomp
novj
novjccomp
nologfd
idle 2592000
ms-dns 8.8.8.8
ms-dns 8.8.4.4
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
proxyarp
lock
nobsdcomp
novj
novjccomp
nologfd
idle 2592000
ms-dns 8.8.8.8
ms-dns 8.8.4.4
②、配置文件/etc/ppp/chap-secrets
mv /etc/ppp/chap-secrets /etc/ppp/chap-secrets.bak
vi /etc/ppp/chap-secrets
vi /etc/ppp/chap-secrets
输入以下内容
# Secrets for authentication using CHAP
# client server secret IP addresses
myusername pptpd mypassword *
# client server secret IP addresses
myusername pptpd mypassword *
注:这里的myusername和mypassword即为PPTP VPN的登录用户名和密码
③、配置文件/etc/pptpd.conf
mv /etc/pptpd.conf /etc/pptpd.conf.bak
vi /etc/pptpd.conf
vi /etc/pptpd.conf
输入以下内容:
option /etc/ppp/options.pptpd
logwtmp
localip 192.168.9.1
remoteip 192.168.9.11-30
logwtmp
localip 192.168.9.1
remoteip 192.168.9.11-30
注:为拨入VPN的用户动态分配192.168.9.11~192.168.9.30之间的IP
④、配置文件/etc/sysctl.conf
vi /etc/sysctl.conf
修改以下内容:
net.ipv4.ip_forward = 1
保存、退出后执行:
/sbin/sysctl -p
3、启动PPTP VPN 服务器端:
/sbin/service pptpd start
4、启动iptables:
/sbin/service iptables start
/sbin/iptables -t nat -A POSTROUTING -o eth0 -s 192.168.9.0/24 -j MASQUERADE
/sbin/iptables -t nat -A POSTROUTING -o eth0 -s 192.168.9.0/24 -j MASQUERADE
二、Windows 下 PPTP VPN 客户端配置
步骤不详述了,直接看图一步步进行:
![](https://cdn.phpts.cn/phpts/www/webstatic/img/logo@2x.png)
![](https://cdn.phpts.cn/phpts/images/software/phptsbnew.jpg)
okslot
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-1-16 18:06
https://okslot777.net/ Many slots fans, easy to break 2023 slots, deposit, withdraw, no minimum, may think that introducing easy to break 2023 slots, slot games are easy to break, difficult to break. Web slots are the easiest to break. depending on each game Web slots often break But in fact, direct web slots do not pass agents, no minimum.
tga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-1-16 18:06
tga สล็อต try playing slots Free trial slot games website Including all famous websites Including all new camps Ready to update all the new games every day. Whether it is the latest game of the PG slots camp, the website has gathered all of them here. Let everyone try to experience 3D style slots, play for free, no registration required, apply for membership, play right away, no hassle.
https://all4slots.life/
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:16
https://all4slots.life/ Website to try playing slots for every camp for free. No need to apply, no deposit required. All slots players can Free trial of all slot games Update the latest games 2024, try playing slots, PG SLOT and many other camps. There are more than 1,000 games to choose from, open 24 hours a day.
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:17
naga สล็อต website providing slot games, online slots, online casinos, fish shooting games from all slots camps. New slot games in one website!
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:17
https://pg-slot.team/ทดลองเล่นสล็อต/ PG SLOT (PG Slots) 3D online video slots games, beautiful graphics, attractive to play, with many games to choose from PGSLOT, the main website that offers PG slots games, the latest in 2024, new open slots websites. Play slot games anywhere through the website.
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:17
https://pgslot-game.app/pgslot-demo/ Many slots fans, easy to break 2024 slots, deposit, withdraw, no minimum, may think that introducing easy to break 2023 slots, slot games are easy to break, difficult to break. Web slots are the easiest to break. depending on each game Web slots often break But in fact, direct web slots do not pass agents, no minimum.
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:17
22dragon.co try playing slots Free trial slot games website Including all famous websites Including all new camps Ready to update all the new games every day. Whether it is the latest game of the PG slots camp, the website has gathered all of them here. Let everyone try to experience 3D style slots, play for free, no registration required, apply for membership, play right away, no hassle.
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:17
naga game เข้าสู่ระบบ The source of the best slot games and slots from all game camps. Offered by many players, the deposit and withdrawal system has a speedy interface and is designed to be easy for all users to use. Activities for players to join in the fun and win free credit NAGAGAMES playing the newest online game, number 1 in Thailand.
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:18
ezslot22.games The hottest new online slots game provider, direct website slots No.1, slots website including all camps 2024, the hottest betting game right now, including slots, baccarat from all camps, online slots game service, easy to break, most frequently broken. Choose to play more than 1,000 games within one website.
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:18
https://www.easy-slot.info/ Deposit a small amount and receive the most popular promotions among online gamblers. Rules and regulations for making a turnover. Conditions are small but worth it. Deposit 10 get 100. Latest 2024 including camps.
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:18
www.naga-game.co Try playing uniquely from every camp. Try playing online slots Our website gives away free trial users to everyone who comes to use the service to the fullest. Study the game to learn the basic rules of the feature payout symbols. Try playing and buy free spins. Games before actually betting, especially from big companies like PG Slots
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:18
ทดลองเล่นสล็อตฟรีทุกเกม It's even easier to play. With the game system where the jackpot prize from the PG SLOT game is given out, easily broken, most frequently broken among Game camp that provides online lottery games Fun guaranteed and entertainment That you have definitely never seen anywhere before.
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:19
สล็อตเว็บตรง Website to try playing slots for every camp for free. No need to apply, no deposit required. All slots players can Free trial of all slot games Update the latest games 2024, try playing slots, PG SLOT and many other camps. There are more than 1,000 games to choose from, open 24 hours a day.
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:19
สล็อตเว็บตรง website providing slot games, online slots, online casinos, fish shooting games from all slots camps. New slot games in one website!
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:19
สล็อตเว็บตรง PG SLOT (PG Slots) 3D online video slots games, beautiful graphics, attractive to play, with many games to choose from PGSLOT, the main website that offers PG slots games, the latest in 2024, new open slots websites. Play slot games anywhere through the website.
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:19
สล็อตเว็บตรง Many slots fans, easy to break 2024 slots, deposit, withdraw, no minimum, may think that introducing easy to break 2023 slots, slot games are easy to break, difficult to break. Web slots are the easiest to break. depending on each game Web slots often break But in fact, direct web slots do not pass agents, no minimum.
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:19
สล็อตเว็บตรง try playing slots Free trial slot games website Including all famous websites Including all new camps Ready to update all the new games every day. Whether it is the latest game of the PG slots camp, the website has gathered all of them here. Let everyone try to experience 3D style slots, play for free, no registration required, apply for membership, play right away, no hassle.
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:19
สล็อตเว็บตรง The source of the best slot games and slots from all game camps. Offered by many players, the deposit and withdrawal system has a speedy interface and is designed to be easy for all users to use. Activities for players to join in the fun and win free credit NAGAGAMES playing the newest online game, number 1 in Thailand.
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:19
สล็อตเว็บตรง The hottest new online slots game provider, direct website slots No.1, slots website including all camps 2024, the hottest betting game right now, including slots, baccarat from all camps, online slots game service, easy to break, most frequently broken. Choose to play more than 1,000 games within one website.
naga สล็อต
![给他/她发邮件 Email](template/RuiPai/images/email.gif)
2024-3-12 21:20
สล็อตเว็บตรง Deposit a small amount and receive the most popular promotions among online gamblers. Rules and regulations for making a turnover. Conditions are small but worth it. Deposit 10 get 100. Latest 2024 including camps.
分页: 9/10
4 5 6 7 8 9 10
![第一页 第一页](template/RuiPai/images/arrows/doubleleft.gif)
![上页 上页](template/RuiPai/images/arrows/singleleft.gif)
![下页 下页](template/RuiPai/images/arrows/singleright.gif)
![最后页 最后页](template/RuiPai/images/arrows/doubleright.gif)