PPTP is called the Point to Point Tunneling Protocol - Point to Point Tunneling Protocol, is a VPN protocol.



|
PPTP is called the Point to Point Tunneling Protocol - Point to Point Tunneling Protocol, is a VPN protocol. 1, PPTP VPN Server Setup on CentOS 5.3
1, install related software
32-bit version:
#yum install-y ppp iptables
#wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-1.rhel5.1.i386.rpm
#rpm-ivh pptpd-1.3.4-1.rhel5.1.i386.rpm
64-bit version:
#yum install-y ppp iptables
#wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-1.rhel5.1.x86_64.rpm
#rpm-ivh pptpd-1.3.4-1.rhel5.1.x86_64.rpm
2, configuration file
1, the configuration file: / etc / ppp / options.pptpd
#mv / etc / ppp / options.pptpd / etc / ppp / options.pptpd.bak
#vi / etc / ppp / options.pptpd
Enter the following:
name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
proxyarp
lock
nobsdcomp
novj
novjccomp
nologfd
ms-dns 208.67.222.222
ms-dns 208.67.220.220
2, the configuration file: / etc / ppp / chap-secrets
mv / etc / ppp / chap-secrets / etc / ppp / chap-secrets.bak
vi / etc / ppp / chap-secrets
Enter the following
# Secrets for authentication using CHAP
# Client server secret IP addresses
myusername pptpd mypassword *
Note: Here myusername and mypassword shall PPTP VPN login user name and password
3, the configuration file / etc / pptpd.conf
mv / etc / pptpd.conf / etc / pptpd.conf.bak
vi / etc / pptpd.conf
Enter the following:
option / etc / ppp / options.pptpd
logwtmp
localip 192.168.9.1
remoteip 192.168.9.11-30
Note: For dial-in VPN, the user dynamically allocated IP between 192.168.9.11 ~ 192.168.9.30 Example 1 - Static IP # This file describes the network interfaces available on your system # The loopback network interface # The primary network interface Example 2 – DHCP Remember the DNS configuration in /etc/resolv.conf Tips From :http://www.handbook.dk/etcnetworkinterfaces-configuration-example-36.htm How to:Linux vlan configuration Junior Member User
1. Connect the eth0 interface of your linux machine to the switch. From:http://nixcraft.com/networking-firewalls-security/10447-linux-vlan-configuration.html |
|
|