Slackware 13.1 - Installing pptpclient (with epkg) ====================================== Public domain ******************************************************************************** ### pptpclient installation cd /usr/src wget -c "http://pmoghadam.com/homepage/Pages/Deposit/Source-packages/pptp-1.7.2.tar.gz" su - install cd /usr/src tar xf pptp-1.7.2.tar.gz cd pptp-1.7.2 sed -ie 's,-o root,,' Makefile make && make install DESTDIR=/usr/local/encap/pptp-1.7.2 cd /usr/local/encap/pptp-1.7.2 mv usr/share/man/ usr/ cd /usr/local/encap/ mkencap pptp-1.7.2/ logout cd /usr/local/encap/ epkg pptp-1.7.2 ******************************************************************************** ### Commands ln -sfn /sbin/ip /bin/ip mkdir -p /etc/ppp/peers cp /etc/ppp/options.pptp{,.bak} ******************************************************************************** ### /etc/ppp/options.pptp lock noauth nobsdcomp nodeflate refuse-eap persist maxfail 0 proxyarp #debug dump logfd 2 nodetach ******************************************************************************** ### /etc/ppp/chap-secrets pejman PPTP 123456 * ******************************************************************************** ### /etc/ppp/peers/pptp-peer pty "pptp 192.168.205.1 --nolaunchpppd" name pejman remotename PPTP file /etc/ppp/options.pptp ******************************************************************************** ### Connection pppd call pptp-peer ******************************************************************************** _BY: Pejman Moghadam_ _TAG: epkg, vpn-client, pptpclient_ _DATE: 2011-01-22 11:05:52_