VPN的英文全称是“Virtual Private Network”,翻译过来就是“虚拟专用网络”。顾名思义,虚拟专用网络我们可以把它理解成是虚拟出来的企业内部专线。它可以通过特殊的加密的通讯协议在连接在Internet上的位于不同地方的两个或多个企业内部网之间建立一条专有的通讯线路,就好比是架设了一条专线一样,但是它并不需要真正的去铺设光缆之类的物理线路。这就好比去电信局申请专线,但是不用给铺设线路的费用,也不用购买路由器等硬件设备。VPN技术原是路由器具有的重要技术之一,目前在交换机,防火墙设备或Windows等软件里也都支持VPN功能,一句话,VPN的核心就是在利用公共网络建立虚拟私有网。

  虚拟专用网(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

  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


  2、配置文件编写
  ①、配置文件/etc/ppp/options.pptpd
mv /etc/ppp/options.pptpd /etc/ppp/options.pptpd.bak
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



  ②、配置文件/etc/ppp/chap-secrets
mv /etc/ppp/chap-secrets /etc/ppp/chap-secrets.bak
vi /etc/ppp/chap-secrets

  输入以下内容
# Secrets for authentication using CHAP
# 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

  输入以下内容:
option /etc/ppp/options.pptpd
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




  二、Windows 下 PPTP VPN 客户端配置
  步骤不详述了,直接看图一步步进行:

  点击在新窗口中浏览此图片

  点击在新窗口中浏览此图片

  点击在新窗口中浏览此图片

  点击在新窗口中浏览此图片

  点击在新窗口中浏览此图片

  点击在新窗口中浏览此图片

  点击在新窗口中浏览此图片

  点击在新窗口中浏览此图片


Tags: , , ,



技术大类 » 其他Unix技术 | 评论(183) | 引用(0) | 阅读(132237)
rajabola Email Homepage
2022-3-22 19:06
I am very interested in the information you have provided. Please visit the my website http://23.254.164.126/
numoka Email
2022-5-11 16:35
This is such a great resource that you are providing and you give it away for free. I love seeing blogs that understand the value of providing a quality resource for freeatari breakout
aa Email
2022-5-14 20:29
aa Email
2022-5-14 20:29
Thanks for the post 168mega
aa Email
2022-5-14 20:29
Thanks for the post https://megagame168.com
nikoma Email
2022-6-13 15:41
Thank you very much for these great cake recipes, I have learned a lot from your web blog driving directions mapquestdriving directionsmapquest
bet789slotxo
2022-10-27 04:53
<a href="https://www.lava879.com/">Viewbet369</a>สล็อตเว็บตรงไม่ผ่านเอเย่นต์ เล่นง่าย จ่ายจริง Viewbet369
sdfsdf Email Homepage
2022-11-3 14:20
MetaMask adds Ethereum to any website, enabling you to use Ethereum in any application without requiring shoppers to install a MetaMask Chrome extension. Users can pay for products and services via cryptocurrency and make in-app payments without having to leave the app.https://sites.google.com/metamaskioextension.com/metamaskextensionn/home https://sites.google.com/metamaskioextension.com/metamaskextension/home
메이저놀이터추천 Email
2022-12-5 15:54
How amazing this article is!!! It is the article which can help me to look back on myself while reading an article about 메이저놀이터, and to grow in the future rather than always beating myself up and staying in one place.
asdsad Email Homepage
2022-12-28 13:03
You need to understand that it is not feasible to login into your account using your phone number if you are thinking "is crypto.com app sign in with phone number possible." When two-factor authentication is set, only then may you use a phone number. Therefore, whenever you attempt to connect into your account, a crypto.com login code will be provided to you.https://sites.google.com/bitlogins.com/cryptocomlogin/homehttps://sites.google.com/bitlogins.com/cryptocomlogin/cryptoco...
betflix all Email Homepage
2023-1-13 17:41
Pretty nice post. I simply stumbled upon your blog and wished to say that I’ve really loved browsing your weblog posts. In any case I’ll be subscribing on your feed and I’m hoping you write once more soon! betflix allbetflix all
paypal login Email
2023-2-14 14:52
Create a new bitmart login account and then you can proceed to buy or sell around 120 supported crypto assets. If you are a beginner, then you are definitely going to love this platform as it has a very user-friendly interface. And the biggest perk of using this exchange is the low trading fee that it charges.One of the most popular payment apps is PayPal which is known for its ubiquitousness.The process of using its services is quite simple, all you have to do is register youraccount, perform a PayPal login and begin the usage. It is a multi-currency platform andsupports international transfers and payments.
UFABET Email Homepage
2023-5-8 17:02
Preedee Email
2023-9-8 08:23
ชื่อ "Virtual Private Network" หรือ VPN นั้นมีความหมายที่สอดคล้องกับความสามารถของเทคโนโลยีนี้อย่างมีนัยสำคัญ คำว่า "Virtual" หมายถึงสิ่งที่เป็นเสมือนจริง ซึ่งในที่นี้หมายถึงการสร้างเครือข่ายที่ไม่จำเป็นต้องเป็นเครือข่ายทางกายภายนอก คำว่า "Private" หมายถึงสิ่งที่เป็นส่วนตัวและมีความเป็นกรรมสิทธิ์ เหมือนกับการสร้างช่องสื่อสารที่เป็นของคุณเองบนเครือข่ายสาธารณะ และคำว่า "Network" หมายถึงระบบที่เชื่อมต่ออุปกรณ์หลายๆ ตัวเข้าด้วยกัน ดังนั้นชื่อ "Virtual Private Network" นั้นสื่อถึงการสร้างเครือข่ายที่เสมือนจริงและเป็นส่วนตัวบนโลกอินเทอร์เน็ตสาธารณะ ซึ่งเป็นความเข้าใจที่ถูกต้องและสะท้อนคุณสมบัติหลักของเทคโนโลยี VPN อย่างเหมาะสม การใช้เครือข่ายสาธารณะเพื่อสร้างเครือข่ายส่วนตัวเป็นสิ่งที่มีความสำคัญและเป็นเป้าหมายหลักของ VPN โดยที่ไม่ต้องเสียค่าใช้จ่ายเพิ่มเติมและไม่ต้องติดตั้งอุปกรณ์เสริมเช่นเราเตอร์ และเทคโนโลยีนี้ยังมีการพัฒนาและใช้งานอย่างแพร่หลายในอุปกรณ์ต่างๆ อาทิเช่นสวิตช์ อุปกรณ์ไฟร์วอลล์ และระบบปฏิบัติการ Windows ด้วย ซึ่งมีประโยชน์ในการเพิ่มความเป็นส่วนตัวและความความมั่นคงของการเชื่อมต่ออินเทอร์เน็ตขององค์กรและผู้ใช้ทั่วไปเช่นกัน VPN เป็นเทคโนโลยีสำคัญที่มีความสำคัญในการเพิ่มความเป็นส่วนตัวและความความมั่นคงในโลกอินเทอร์เน็ตสาธารณะในปัจจุบันและอภิปรายต่ออนาคตด้วยความสามารถในการสร้างเครือข่ายส่วนตัวบนพื้นฐานเครือข่ายสาธารณะที่มีอยู่อย่างกว้างขวางอยู่แล้วการท่องเว็บอันเป็นส่วนตัว: VPN ช่วยให้คุณสามารถท่องเว็บอย่างเป็นส่วนตัวมากขึ้น โดยไม่ต้องกังวลเรื่องการติดตามการเรียกใช้งานเว็บไซต์หรือการรวบรวมข้อมูลการเรียกใช้งานของคุณโดยไม่ได้รับอนุญาต.การป้องกันการโจมตีแฮกเกอร์: VPN ช่วยป้องกันการโจมตีแฮกเกอร์ที่เป็นผู้เจาะระบบและพยายามเข้าถึงข้อมูลส่วนบุคคลหรือรหัสผ่านของคุณ โดยการเข้ารหัสข้อมูลและซ่อนที่อยู่ IP ของคุณ.การเปิดเข้าถึงบริการที่ถูกจำกัด: VPN ช่วยให้คุณสามารถเข้าถึงบริการออนไลน์ที่ถูกจำกัดในบางพื้นที่ หรือเว็บไซต์ที่ถูกบล็อก โดยเชื่อมต่อผ่านเซิร์ฟเวอร์ในสถานที่ที่อนุญาตให้เข้าถึงเนื้อหานั้น.การเปิดเผยข้อมูลในที่สาธารณะ: การใช้ VPN ช่วยปกป้องข้อมูลส่วนบุคคลและข้อมูลธุรกิจของคุณจากการเผยแพร่ในที่สาธารณะ ทำให้คุณมั่นใจได้ในเรื่องความเป็นส่วนตัวของข้อมูลของคุณ.การใช้งาน VPN เป็นเครื่องมือสำคัญสำหรับการปกป้องความเป็นส่วนตัวและความความมั่นคงของข้อมูลในโลกอินเทอร์เน็ตที่เต็มไปด้วยความเสี่ยงและการติดตาม คุณสามารถเลือกใช้ VPN เพื่อเพิ่มระดับความปลอดภัยและความเป็นส่วนตัวของคุณในการใช้อินเทอร์เน็ตในทุกวันนี้.นอกจากความสำคัญของ VPN แล้ว ยังมีคำว่า " PG SLOT " ที่เป็นส่วนหนึ่งของเว็บไซต์ที่ให้บริการเกมสล็อตออนไลน์ที่น่าสนใจ ซึ่งผู้เล่นสามารถเข้าเล่นเกม PGSLOT ผ่านอินเทอร์เน็ตได้และสนุกสนานกับเกมสล็อตออนไลน์ต่างๆ ที่มีให้เลือกเล่นอย่างมากมายบนแพลตฟอร์ม PGSLOT เพื่อความบันเทิงและโอกาสในการชนะรางวัลโบนัสที่มากมาย.
sdfcvdzvbdz Email
2023-10-25 16:23
To ensure that none of the investors abstain from being a part of the crypto trade and investment activities Coinbase wallet extension was launched. The extension was launched to meet the need of investors who prefers to access their funds and dive into the crypto trade through the web. That’s why MEWwallet is bringing seven years of expertise in creating easy-to-use wallets to the multichain landscape. Just a few months ago we released Enkrypt, a Web3 multichain browser extension wallet.
sdfcvdzvbdz Email
2023-10-25 16:24
To ensure that none of the investors abstain from being a part of the crypto trade and investment activities Coinbase wallet extension was launched. The extension was launched to meet the need of investors who prefers to access their funds and dive into the crypto trade through the web. That’s why MEWwallet is bringing seven years of expertise in creating easy-to-use wallets to the multichain landscape. Just a few months ago we released Enkrypt, a Web3 multichain browser extension wallet.
นากาเกมสล็อต Email
2024-1-16 18:05
นากาเกมสล็อต 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 2023, try playing slots, PG SLOT and many other camps. There are more than 1,000 games to choose from, open 24 hours a day.
นากาเกม89 Email
2024-1-16 18:06
https://nagagames89.io/ website providing slot games, online slots, online casinos, fish shooting games from all slots camps. New slot games in one website!
นากาเกม Email
2024-1-16 18:06
http://www.nagagames-th.io/ 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 2023, new open slots websites. Play slot games anywhere through the website.
分页: 8/10 第一页 上页 3 4 5 6 7 8 9 10 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]