Nazaretyan's blog blog about everthing ….

20Oct/091

PPTP configuration

PPTPd configuration (debian linux)

for first we need to install PPTP server itself

apt-get install pptpd

after pptpd we need to edit  /etc/pptpd.conf

we need to keep only 2 lines there

option /etc/ppp/pptpd-options
logwtmp
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-domain
refuse-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.4

do not forget to add

echo 1 > /proc/sys/net/ipv4/ip_forward

horrraay :) just try and look how it works.

Comments (1) Trackbacks (0)
  1. 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 :)


Leave a comment

(required)

No trackbacks yet.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes