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
vi /etc/pptpd.conf
localip 198.168.0.10
remoteip 10.0.0.10-250
vi /etc/ppp/chap-secrets
username * password *
/etc/init.d/pptpd start
iptables -t nat -F iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j SNAT --to 192.168.0.10 echo 1 >/proc/sys/net/ipv4/ip_forward |