PPTP vpn client error

Issues related to configuring your network
Post Reply
mhabiballa
Posts: 1
Joined: 2019/04/07 11:22:51

PPTP vpn client error

Post by mhabiballa » 2019/04/07 12:46:15

Dears,

I've configured my centos 7 to establish a pptp connection to a remote vpnserver. The connection seems to be established but I receive the following error which I coundn't understand:

Code: Select all

~# cat /var/log/messages
[24716]: pppd 2.4.5 started by root, uid 0
pppd[24716]: Using interface ppp0
pppd[24716]: Connect: ppp0 <--> /dev/pts/1
NetworkManager[5189]: <info>  [1554640488.7514] manager: (ppp0): new Ppp device (/org/freedesktop/NetworkManager/Devices/4)
pptp[24717]: anon log[main:pptp.c:333]: The synchronous pptp option is NOT activated
pptp[24733]: anon log[ctrlp_rep:pptp_ctrl.c:254]: Sent control packet type is 1 'Start-Control-Connection-Request'
pptp[24733]: anon log[ctrlp_disp:pptp_ctrl.c:754]: Received Start Control Connection Reply
pptp[24733]: anon log[ctrlp_disp:pptp_ctrl.c:788]: Client connection established.
pptp[24733]: anon log[ctrlp_rep:pptp_ctrl.c:254]: Sent control packet type is 7 'Outgoing-Call-Request'
pptp[24733]: anon log[ctrlp_disp:pptp_ctrl.c:873]: Received Outgoing Call Reply.
pptp[24733]: anon log[ctrlp_disp:pptp_ctrl.c:912]: Outgoing call established (call ID 0, peer's call ID 35968).
pppd[24716]: CHAP authentication succeeded
kernel: PPP MPPE Compression module registered
pppd[24716]: MPPE 128-bit stateless compression enabled
pppd[24716]: local  IP address 10.38.0.25
pppd[24716]: remote IP address 10.38.0.1
NetworkManager[5189]: <info>  [1554640494.0827] device (ppp0): state change: unmanaged -> unavailable (reason 'connection-assumed', sys-iface-state: 'external')
NetworkManager[5189]: <info>  [1554640494.0846] device (ppp0): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'external')

Code: Select all

~# ip a s | grep ppp
4: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1496 qdisc pfifo_fast state UNKNOWN group default qlen 3
    link/ppp
    inet 10.38.0.25 peer 10.38.0.1/32 scope global ppp0

Code: Select all

~# uname -a
Linux abc@localhost 3.10.0-957.10.1.el7.x86_64 #1 SMP Mon Mar 18 15:06:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

~#  rpm -qa | grep pptp
pptp-1.7.2-22.el7.x86_64

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: PPTP vpn client error

Post by aks » 2019/04/07 16:53:02

First of all don't use PPTP - it's that so insecure now (and has been for quite a while now).

There's not a lot to go on in what you posted, is there anything server side?

It appears the tunnel comes up successfully, and you authenticate (CHAP authentication succeeded).

Check settings are they correct - specifically does it work without compression enabled (just because it the last thing seen)?

Otherwise, an intermediary device on the network path may be failing to pass PPTP, either by policy or accident. This has recently become very common, especially when NAT is involved. Also check the routes are conflicting (so say a route to the remote network is 192.168.0/24 and your local network is 192.168.0/24).

You really need to pass the debug arg to pppd - I think you can add this in /etc/ppp/options.pptp, but can't remember now - it's been so long.

Post Reply