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:
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 nf_conntrack_pptp
or nf_conntrack_proto_gre
kernel modules
here is the config:
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?