operating system.Wget http://acelnmp.googlecode.com/files/pptpd-1.3.4-1.rhel5.1.x86_64.rpm
3: pptp configuration
Vi/etc/pptpd. confLocalip 192.168.2.1Remoteip 192.168.2.2-192.168.2.250Explanation: localip is the ip address used by pptp. you can use the remoteip to link to the vpn. you can use the same network segment as the localip to access the ip address.
Vi/e
Application Introduction
For enterprise users, it is necessary to provide a secure tunnel to the headquarters network for business travelers and remote workstations so that the terminal can access internal resources. With PPTP VPN, terminals can access the Internet via broadband, private network, 3G, WLAN and other access modes, use VPN client dialing
privilege 15 secret A123SO
Next, start vpn dialing, And the exciting time is coming.
Result:
Server # show vpdn
% No active L2TP tunnels
PPTP Tunnel and Session Information Total tunnels 1 sessions 1
LocID Remote Name State Remote Address Port Sessions VPDN Group12710 estabd 172.18.101.3 61202 1 1
LocID RemID TunID Intf Username State Last Chg Uniq ID56753 2777 12710 Vi2.1 sos estabd 00:00:26 10
Client
Byt
PPTP, that is, the PPTF protocol. This protocol is a new enhanced security protocol developed on the basis of PPP protocol, which supports multi-protocol virtual private network (VPN), and can enhance security through the methods of Password Authentication Protocol (PAP), Extensible Authentication Protocol (EAP), etc. You can enable remote users to securely access the enterprise network by dialing into the
/net.ipv4.ip_forward\ =\ 0/net.ipv4.ip_forward\ =\ 1/g' /etc/sysctl.conf
Change net. ipv4.ip _ forward = 0 to 1.
Run the following command to make the configuration take effect.
sysctl -p
Enable iptables forwarding
/sbin/iptables -t nat -A POSTROUTING -s 192.168.88.0/24 -o eth0 -j MASQUERADE
Save firewall rules
/etc/init.d/iptables save
Finally, set iptables and pptpd to automatically start upon startup.
chkconfig pptpd on chkconfig iptables on
Start pptpd Service
/etc/init
create NAT
Install iptablesapt-get install iptables
Add a rule to the nat table
iptables -t nat -A POSTROUTING -s 172.16.31.0/24 -o eth0 -j MASQUERADE
[Note
Eth0 is the name of the network card. You can view it through ifconfig.
]
Set MTU
iptables -I FORWARD -p tcp --syn -i ppp+ -j TCPMSS --set-mss 1356
[Note
Recommended Vultr
Note:We recommend grouping ing a MTU of 1450 on your private network. Using a larger MTU will result in poor performance.
]
/chap-secrets
Fill in the format of the IP address assigned by the user name (tab) Host Name (tab) and password (tab). The host name can be replaced, if you do not specify the IP address to which the user is allocated, you can change the last IP address to "*" to restart the pptp service.
/etc/init.d/pptpd restartWait for a moment. Hey, create a VPN connection fr
Ok
2. PPP-INTERFACE-PPTP Server
Tick Enabled
Default Profile:pptp-profile
Ok
3, Ppp-interface
Point + number, select PPTP Server Binding
Name:pptp-in1
Ok
Create a client-dial user
Ppp-secrets
Point + number
Name:user
pas
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 vpn Server in CentOS6 Architecture
For more information, see http://www.178-go.com/archives/vpn-on-centos-vps.html. There are also many articles about installation and configuration on the Internet, which are also detailed. It is not difficult to configure according to steps. Because my application scenarios are a little different from those described in the
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 connecti
Setting up VPN Client (PPTP) to connect to some VPN Server shocould be a fairly easy task nowadays-at least most of the online articles/tutorials/videos all suggest so. for example, https://www.youtube.com/watch? V = yugspkfhuqg,Andhttp: // ashu-geek.blogspot.co.uk/2012/05/vpn-virtual-private-network.html.
It is in fa
.noarch.rpm
Two Install software;
Check the installation of PPP, PPTP, Pptp-setup, no yum install;
Three Use the Pptpsetup command to create a VPN node;
Pptpsetup command usage and description:
Pptpsetup --create
Options:
*
*
*
*
*
*–encrypt indicates tha
Nowadays, more and more Linux environments are used. For example, if the Headquarters uses Linux, but the branches are scattered and not easy to manage, windows is still used, in general, we connect the branches to the Headquarters through VPN. Generally, VPN includes PPTPVPN, IPSECVPN, and L2TPVPN. PPTP is the easiest and IPSECVPN is the most common. It is suppo
Experimental environment:
(1) The company all game servers, only allow an extranet IP to access, need to maintain the server, must first dial to the designated extranet IP.
(2) The company and headquarters communications are to take the VPN channel, the company's internal IP and VPN devices are different network segments, need to be under the VPN device to conn
Article title: Linux study notes virtual private network VPN experiment PPTP. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The full name of VPN is "Virtual Private Network", which is translated as "Virtual Private Network "
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
can we allow employees in other countries to access intranet resources? The solution of VPN is to set up a VPN Server in the Intranet. The VPN Server has two NICs, one connecting the Intranet and the other connecting the internet. After local employees connect to the internet, they can find the VPN Server through the
Http://www.boofee.net/bigfee/read.php? 976Modify the Windows rras vpn pptp service default port number through the Registry
The default port number used by the first-layer tunnel protocol PPtp of VPN (Virtual Private Network) is TCP 1723, which is a standard, that is to say, whether it is the
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.