20Oct/091
PPTP configuration
PPTPd configuration (debian linux)
for first we need to install PPTP server itself
apt-get install pptpdafter pptpd we need to edit /etc/pptpd.conf
we need to keep only 2 lines there
option /etc/ppp/pptpd-optionslogwtmp
localip 10.80.80.1 (change to your server side IP address)
remoteip 10.80.80.2-254 (change to your clients IP address)
we need to add few lines into /etc/ppp/pptp.options
name pptpd #chapms-strip-domainrefuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
ms-dns 192.168.112.112 (change to your DNS server IP address)
ms-wins 192.168.112.112 (change to your WINS server IP address)
proxyarp
nodefaultroute
debug
lock
nobsdcomp
noipx
mtu 1460
mru 1440
in /etc/ppp/chap-secrets you need to add your user, password , and IP address that you want to get.
user * password 10.80.80.4do not forget to add
echo 1 > /proc/sys/net/ipv4/ip_forwardhorrraay
just try and look how it works.


November 5th, 2009 - 23:34
A year or tow ago, it was an issue for me, to make Linux connect to VPN with PPTP. There were many solutions o how to setup PPTP server, but quite few, on how connect to PPTP as client
Not it’s better, and distros like Ubuntu even have it pre-included.
P.S. Added RSS of this blog to my Thunderbird