##### VPN Configuration####### Download File: From www.poptop.org----downloads dkms-2.0.10-1 kernel_ppp_mppe-1.0.2 dkms-2.0.6 ppp-2.4.3-5.rhl9.i386.rpm pptpd-1.3.0.tar.gz 1. rpm -ivh dkms-2.0.10-1 2. rmp -ivh kernel_ppp_mppe-1.0.2 dkms-2.0.6 (it will take some time) 3. rmp -Uvh ppp-2.4.3-5.rhl9.i386.rpm 4. tar -zxvf pptpd-1.3.0.tar.gz 5. cd pptpd-1.3.0 6. ./configure 7. make 8. make install 9. mv /etc/ppp/chap-secret /etc/ppp/chap-secret.old 10. cd /pptpd-1.3.0/samples 11. cp pptpd.conf /etc/ 12. cp chap-scripts /etc/ppp/ 13. cp options.pptpd /etc/ppp/ 14. vi /etc/modules.conf (Paste below lines) # # poptop example modules.conf file # # Note: # If you had a version of modutils released after about 2001, # then you probably don't need to make any of these changes. # -- James Cameron # alias char-major-108 ppp_generic # if kernel 2.2: # alias char-major-108 ppp alias tty-ldisc-3 ppp_async alias tty-ldisc-14 ppp_synctty alias ppp-compress-18 ppp_mppe alias ppp-compress-21 bsd_comp alias ppp-compress-24 ppp_deflate alias ppp-compress-26 ppp_deflate alias net-pf-47 ip_gre 15. vi /etc/pptpd.conf (edit below lines) localip 192.168.0.1 remoteip 192.168.0.234-238,192.168.0.245 16. vi /etc/ppp/options.pptpd (edit below line) ms-dns nameserver (210.4.77.143) 17. vi /etc/ppp/chap-secrets (Give user and password and fixed ip) # PPP CHAP secrets file. # See pppd(1) for file format. # Secrets for authentication using CHAP # client server secret IP addresses #username pptpd password * rezwan pptpd rezwan123 192.168.0.253 18. mkdir /usr/lib/pptpd 19. cd /pptpd-1.3.0/plugins 20. cp pptpd-logwtmp.so /usr/lib/pptpd 21. /usr/local/sbin/pptpd (for start pptps) 22. vi /etc/rc.d/rc.local (paste below line) /usr/local/sbin/pptpd