This article describes how to configure packet filter support for PPTP VPN clients.
The Windows Server 2003 Routing and Remote Access service supports virtual private networks (VPNs). VPN clients can use Point-to-Point Tunneling Protocol (PPTP), second-tier Tunneling Protocol (L2TP), and IP Security (IPSEC) to create a secure tunnel to the Windows Server 2003-based Routing and Remote Access Service VPN ser
PPTP VPN I believe a lot of friends have heard, today I would like to introduce you to CentOS 6.4 to install PPTP and configure the Debian GNOME desktop VPN Client Connection example, I hope that the following will help you.
The following is based on the Linode VPS Centos 6.4 Install PPTP service, remember that the
entries
# Secrets for authentication using CHAP# Client Server Secret IP addressesVpnusername pptpd Vpnpassword *
Vpnusername is your VPN account, Vpnpassword is your VPN login password and will use this account and password when configuring the client.
3. Configure PPTP, edit/etc/pptpd.conf:
# Cp/etc/pptpd.conf/etc/pptpd.conf.bak# vi/etc/pptpd.conf
Add Con
This article describes the procedures for configuring the PPTP client for commands.A. Installing the PPTP client softwaresudo apt-get install Pptp-linuxB. View network Configuration[emailprotected]:~# ifconfigeth0 Link encap:ethernet HWaddr 00:0c:29:19:a7:0c inet addr:192.16
Installing PPTP clients Install Pptp-linuxSetting up Connection account information sudo vim/etc/ppp/chap-secretsWhere $login_name is the login name, $password is the login password, $ip if the * is assigned to the server, you can specify it. $server _name is the alias for the service connection and needs to be consistent with the remotename in the actual configuration file for authentication using chap#
To install the PPTP client and MPPE encryption module:
The code is as follows
Copy Code
OPKG UpdateOpkg Install PPTPOpkg Install Kmod-mppe
Add account number and password to config file:
The code is as follows
Copy Code
Cat/etc/ppp/chap-secrets#USERNAME PROVIDER PASSWORD IPAddressHaiyun.me VPN "haiyun.me" *
New dial-up configurati
Objective:
Build a single network card Linux gateway (transparent proxy), the gateway dial into an overseas VPN server, the client set the gateway, the network exit for the overseas VPN server, to achieve accelerated access to some Web sites.
Environmental information:
Hardware: One Dell Machine, single NIC (ip:10.39.100.253);
Machine Name: VPNGW
Operating system: CentOS 6.0 Kernel Linux 2.6.32-71.el6.i686
Network environment: LAN firewall shoul
This article describes in detail how to install a VPN client in CentOS (note that it is not a VPN server)1. Install software[Root @ webserver ~] # Yum install ppp pptp-setup2. Register the ppp_mppe kernel module[Root @ webserver ~] # Modprobe ppp_mppe3. Create a VPN connectionCustom connection name: vpnPPTP Server: 123.456.78.90User Name: sunPassword 123456[Root @ webserver ~] # Pptpsetup -- create vpn -- s
LinuxLowerVPNClient (p t p) Configuration
Linux: Kernel kernel-2.6.9-42.EL
You can go to the site: http: // pptpclient.sourceforge.net/
Required software:
Kernel-devel-2.6.9-42.EL (built-in system)
Dkms-2.0.10-2.fc5.noarch.rpm
Dernel_ppp_mppe-0.0.5-2dkms.noarch.rpm
The above three files are usually installed when you set up the Linux VPN Server. You can run the # rpm-Q command to view them.
(Example: # rpm-Q dkms)
Pptp-1.7.0-1.i386.rpm
Libxml-1.8.17
Configure pptp VPN Client in CentOS 6.3
Yum-yinstallppp pptppptp-setup
Pptpsetup command usage and description:
Pptpsetup -- create
Pptpsetup-delete
Pptpsetup -- create vpn connection name -- server VPN server IP -- username VPN username -- password VPN password
Vi/etc/ppp/peers/vpn connection name# Written by pptpsetupPty "pptp VPN Server IP -- nolaunchpppd"Lo
The openwrt firmware needs to be compiled on the local virtual machine, and dependencies need to be continuously downloaded during the compilation process. Due to the existence of GFW, compilation may fail, so you need to compile the VM to connect to the VPN.The virtual machine system is CentOS6. The connection to PPTP is used as an example.First install the pptp client:Yum install
1. Add an extended repo file to the/etc/yum. repo directory. The content is as small
[Epel]Name = Extra Packages for Enterprise Linux 6-$ basearchBaseurl = http://download.fedoraproject.org/pub/epel/6/?basearch# Items list = https://mirrors.fedoraproject.org/metalink? Epel-6 arch = $ basearchFailovermethod = priorityEnabled = 1Gpgcheck = 1Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[Epel-debuginfo]Name = Extra Packages for Enterprise Linux 6-$ basearch-DebugBaseurl = http://download.fe
Next to the content in the previous section:
What is PPTP?
The following is an official explanation of Microsoft (the first draft submitted by Microsoft ):
Point-to-Point Tunneling Protocol (PPTP) is a network protocol thatEnables the secure transfer of data from a remote client to a private enterprise serverBy creating a virtualPrivate Network (VPN) Upload SSTC
architecture. Many existing operating systems, such as Windows and Linux, have the ability to connect to a VPC without using other network devices.
2. vpn Classification
VPN can be classified according to different criteria:
(1) classification by VPN protocol:
There are three main VPN tunnel protocols,PPTP, L2TP and IPSec. The PPTP and L2TP protocols work on the second layer of the OSI model, also known a
Basic concepts of PPTP
First, let's understand what PPTP is. PPTP encapsulates a PPP (point-to-point Protocol) frame into an IP datagram, sent over an IP network such as the Internet or another enterprise-specific intranet. PPTP creates, maintains, terminates a tunnel through a PP
Toss for several days, look up a lot of information, finally buttoned up, tears cow face, the following record detailed operation process! Note: The test environment is CENTOS5.8 x86
Installing PPTP
Use the Chao PPTP one-click installation package directly
The code is as follows
Copy Code
wget Http://dl.zrblog.net/pptpd.sh;sh pptpd.sh;
Install LNMP
I am using the AM
, pay attention to the network conditions between two encrypted tunnels. If there is a high latency or a large number of packet loss, select TCP as the underlying protocol, due to the absence of connection and retransmission mechanisms, UDP protocol is inefficient because it requires the upper-layer protocol to be retransmitted. OpenVPN is a pure application-layer VPN protocol based on SSL encryption. It is a type of ssl vpn and supports UDP and TCP (Note: UDP and TCP are two communication proto
32-bit instruction, and if it is a 64-bit CentOS, execute the 64-bit instruction. Be careful not to get it wrong.
Next, you install PPTP, which is also divided into 32-bit and 64-bit systems:
The code is as follows:
#rpm-IVH pptpd-1.3.4-1.rhel5.1.i386.rpm
(32-bit system use)
The code is as follows:
#rpm-IVH pptpd-1.3.4-1.rhel5.1.x86_64.rpm
(64-bit system use)
4, configure PPTP. First we want to edi
1 IntroductionFeatures: Developed by the vendor alliance, mainly composed of Microsoft
Term: PAC------PPTP Access Concentrator, location and functionality similar to NAs in l2fPNS------PPTP network server, location and functionality similar to the end gateway in l2fPurpose: Forward PPP data to PNS through the Internet. In the tunneling mode, the PAC accepts the customer's call, LCP negotiation, and some nec
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.