LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-12-2021, 02:46 PM   #1
horizn
Member
 
Registered: Jan 2015
Location: UK and Poland
Distribution: Slackware + Debian + Ubuntu
Posts: 170

Rep: Reputation: Disabled
PPTP VPN connecting issue


I got into weird issue with PPTP VPN. For some reason the same configuration works fine (I am able to connect) on Ubuntu 20.04 but it doesn't work in Debian 10 or 11. On Debian in the logs I am getting:

Code:
Oct 12 17:44:51 x pppd[567]: Connect: ppp0 <--> /dev/pts/1
Oct 12 17:44:51 x systemd-udevd[569]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Oct 12 17:44:51 x pptp[570]: anon log[main:pptp.c:353]: The synchronous pptp option is NOT activated
Oct 12 17:44:52 x pptp[579]: anon log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 1 'Start-Control-Connection-Request'
Oct 12 17:44:52 x pptp[579]: anon log[ctrlp_disp:pptp_ctrl.c:781]: Received Start Control Connection Reply
Oct 12 17:44:52 x pptp[579]: anon log[ctrlp_disp:pptp_ctrl.c:815]: Client connection established.
Oct 12 17:44:52 x pppd[567]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1346f064> <pcomp> <accomp>]
Oct 12 17:44:53 x pptp[579]: anon log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 7 'Outgoing-Call-Request'
Oct 12 17:44:53 x pptp[579]: anon log[ctrlp_disp:pptp_ctrl.c:900]: Received Outgoing Call Reply.
Oct 12 17:44:53 x pptp[579]: anon log[ctrlp_disp:pptp_ctrl.c:939]: Outgoing call established (call ID 35522, peer's call ID 26496).
Oct 12 17:44:55 x pppd[567]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1346f064> <pcomp> <accomp>]
Oct 12 17:44:58 x pppd[567]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1346f064> <pcomp> <accomp>]
Oct 12 17:45:01 x pppd[567]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1346f064> <pcomp> <accomp>]
Oct 12 17:45:04 x pppd[567]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1346f064> <pcomp> <accomp>]
Oct 12 17:45:07 x pppd[567]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1346f064> <pcomp> <accomp>]
Oct 12 17:45:10 x pppd[567]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1346f064> <pcomp> <accomp>]
Oct 12 17:45:13 x pppd[567]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1346f064> <pcomp> <accomp>]
Oct 12 17:45:16 x pppd[567]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1346f064> <pcomp> <accomp>]
Oct 12 17:45:19 x pppd[567]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1346f064> <pcomp> <accomp>]
Oct 12 17:45:22 x pppd[567]: LCP: timeout sending Config-Requests
Oct 12 17:45:22 x pppd[567]: Connection terminated.
Oct 12 17:45:22 x pppd[567]: Modem hangup
it is not a matter of loading
Code:
nf_conntrack_pptp
or
Code:
nf_conntrack_proto_gre kernel modules
here is the config:
Code:
pty "pptp 1.2.3.4 --nolaunchpppd --debug"
name login
password password
remotename PPTP
#require-mppe-128
require-mschap-v2
refuse-eap
refuse-pap
refuse-chap
refuse-mschap
noauth
debug
persist
maxfail 0
defaultroute
replacedefaultroute
usepeerdns
any ideas?
 
Old 10-13-2021, 08:20 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 5,857
Blog Entries: 3

Rep: Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041
The PPTP VPNs are obsolete.

If you have the possibility IKE, IPSec, OpenVPN, WireGuard, or even an ad-hoc SSH VPN would be sound choices. Can you use one of those instead?
 
Old 10-13-2021, 08:52 AM   #3
uteck
Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: GalliumOS on Chrombook
Posts: 709

Rep: Reputation: 252Reputation: 252Reputation: 252
I found on a search, to add the "silent" option to your config, so it will wait for a packet from the server.
But PPTP is a dead technology, and you should replace it with something that is secure. Tailscale lets you easily setup wireguard on nearly all OS's.
 
Old 10-13-2021, 09:35 AM   #4
horizn
Member
 
Registered: Jan 2015
Location: UK and Poland
Distribution: Slackware + Debian + Ubuntu
Posts: 170

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by uteck View Post
I found on a search, to add the "silent" option to your config, so it will wait for a packet from the server.
But PPTP is a dead technology, and you should replace it with something that is secure. Tailscale lets you easily setup wireguard on nearly all OS's.
So how this can help to solve my issue? I know it is obsolete but it is not me who managing this.
 
  


Reply

Tags
vpn pptp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] PPTP VPN Server Issue w/VPN access AmberM Linux - Newbie 2 02-17-2014 10:34 AM
PPTP VPN not working while at work. What other types of VPN should I try? Salzgablah Linux - Server 0 12-24-2013 11:48 PM
PPTP Packets from the VPN Client Cannot Reach the VPN server SubZeroJake Linux - Networking 1 05-14-2012 06:52 PM
pptp vpn connetion from behind non vpn router paind Linux - Networking 0 07-18-2008 02:44 PM
LXer: Linux Configure point to point tunneling PPTP VPN client for Microsoft PPTP vpn server LXer Syndicated Linux News 0 06-13-2007 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration