Installation PPTPD
1. Install the Yum Repositories
rpm -Uvh http://pptpclient.sourceforge.net/yum/stable/rhel5/pptp-release-current.noarch.rpm
2. Then proceed with installing ppp & pptpd
1. Set IPForward
Start PPTPD
yum install ppp3. After installation finnish open /etc/pptpd.conf and change the configuration for localip & remoteip
yum --enablerepo=pptp-stable install pptp
localip 10.0.0.24. After that open the file / etc / ppp / options.pptpd and change sesuia ms-dns dns server / isp you (I filled in with open dns ip)
remoteip 10.0.0.200-220
ms-dns 208.67.222.2225. Then make your VPN use
ms-dns 208.67.220.220
IP Forwarding & Natecho "username pptpd password *">> / etc / ppp / chap-secrets
1. Set IPForward
echo 1 > /proc/sys/net/ipv4/ip_forward2. Set Nat
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Start PPTPD
service pptpd start
No comments:
Post a Comment