pptp problem on Ubuntu after upgrading

I have a customer who uses pptp as a VPN for support logins.

After upgrading my Ubuntu server to 9.10 I found my PPTP tunnel would not start. Looking in /var/log/messages I got :-
Jun  4 18:10:20 master2 pppd[5009]: pppd 2.4.5 started by root, uid 0
Jun  4 18:10:20 master2 pppd[5009]: Using interface ppp0
Jun  4 18:10:20 master2 pppd[5009]: Connect: ppp0 <–> /dev/pts/2
Jun  4 18:10:22 master2 pppd[5009]: CHAP authentication succeeded
Jun  4 18:10:22 master2 pppd[5009]: LCP terminated by peer (MPPE required but peer refused)
Jun  4 18:10:25 master2 pppd[5009]: Connection terminated.
Jun  4 18:10:26 master2 pppd[5009]: Modem hangup
Jun  4 18:10:26 master2 pppd[5009]: Exit.

Now I know MPPE has been included in theUbuntu kernel for ages so I checked man pppd and it suggested I need to put something about mppe in /etc/ppp/options.pptp

I unhashed   require-mppe-128    in  /etc/ppp/options.pptp and it now works fine :-

Jun  4 18:23:09 master2 pppd[5703]: pppd 2.4.5 started by root, uid 0
Jun  4 18:23:09 master2 pppd[5703]: Using interface ppp0
Jun  4 18:23:09 master2 pppd[5703]: Connect: ppp0 <–> /dev/pts/2
Jun  4 18:23:11 master2 pppd[5703]: CHAP authentication succeeded
Jun  4 18:23:12 master2 kernel: [  897.391871] padlock: VIA PadLock Hash Engine not detected.
Jun  4 18:23:12 master2 kernel: [  897.393782] PPP MPPE Compression module registered
Jun  4 18:23:12 master2 pppd[5703]: MPPE 128-bit stateless compression enabled
Jun  4 18:23:12 master2 pppd[5703]: local  IP address 192.168.XXX.XXX
Jun  4 18:23:12 master2 pppd[5703]: remote IP address 192.168.XXX.XXX

Leave a Reply

Your email address will not be published. Required fields are marked *