Your Ad Here

Thursday, September 10, 2009

Install VPN with PPTPD in cenots / RHEL 5

VPN (Virtual Provate Network) is a computer network that allows someone into a different local network. This time I tried to install vpn using pptp and with os Centos / RHEL 5.
Installation PPTPD

1. Install the Yum Repositories
rpm -Uvh
2. Then proceed with installing ppp & pptpd
yum install ppp
yum --enablerepo=pptp-stable install pptp
3. After installation finnish open /etc/pptpd.conf and change the configuration for localip & remoteip
4. 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)
5. Then make your VPN use
echo "username pptpd password *">> / etc / ppp / chap-secrets
IP Forwarding & Nat
1. Set IPForward
echo 1 > /proc/sys/net/ipv4/ip_forward
2. Set Nat
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

service pptpd start

No comments:

Link Exchange

[A.]Areena [B.]Beauty Leg[C.][D.][E.][F.][G.]Gadis Cantik[H.][I.][J.][K.][L.][M.][N.][O.][P.][Q.][R.][S.]SeoID[T.][U.][V.][W.]WiZnU [X.][Y.][Z.]

Linux Manual Book

↑ Grab this Headline Animator