Public domain
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
ln -sfn /sbin/ip /bin/ip
mkdir -p /etc/ppp/peers
cp /etc/ppp/options.pptp{,.bak}
lock noauth nobsdcomp nodeflate refuse-eap
persist maxfail 0 proxyarp
#debug dump logfd 2 nodetach
pejman PPTP 123456 *
pty "pptp 192.168.205.1 --nolaunchpppd"
name pejman
remotename PPTP
file /etc/ppp/options.pptp
pppd call pptp-peer
BY: Pejman Moghadam
TAG: epkg, vpn-client, pptpclient
DATE: 2011-01-22 11:05:52