PPTP conecta no windows mas nao no Linux [RESOLVIDO]

1. PPTP conecta no windows mas nao no Linux [RESOLVIDO]

Jorge Santos
jorgessn

(usa Ubuntu)

Enviado em 24/07/2019 - 14:58h

Boa tarde pessoal, antes de mais nada, desde já, agradeço a ajuda!

Meu problema é o seguinte:
Fiz uma vpn com PPTP no Debian 9, ela funciona quando conecto de um cliente Windows, porem do Debian, da erro com a mensagem: Modem Hangup, segue o log:
Jul 24 14:56:38 KR systemd[2502]: Reached target Timers.
Jul 24 14:56:38 KR systemd[2502]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Jul 24 14:56:38 KR systemd[2502]: Listening on GnuPG cryptographic agent (access for web browsers).
Jul 24 14:56:38 KR systemd[2502]: Reached target Sockets.
Jul 24 14:56:38 KR systemd[2502]: Reached target Paths.
Jul 24 14:56:38 KR systemd[2502]: Reached target Basic System.
Jul 24 14:56:38 KR systemd[2502]: Reached target Default.
Jul 24 14:56:38 KR systemd[2502]: Startup finished in 219ms.
Jul 24 14:56:38 KR systemd[1]: Started User Manager for UID 0.
Jul 24 14:56:46 KR systemd[1]: Started Session c2 of user root.
Jul 24 14:57:00 KR kernel: [ 2835.903036] PPP generic driver version 2.4.2
Jul 24 14:57:00 KR pppd[2564]: pppd 2.4.7 started by root, uid 0
Jul 24 14:57:00 KR pptp[2570]: anon log[main:pptp.c:353]: The synchronous pptp option is NOT activated
Jul 24 14:57:00 KR pppd[2564]: using channel 1
Jul 24 14:57:00 KR pppd[2564]: Using interface ppp0
Jul 24 14:57:00 KR pppd[2564]: Connect: ppp0 <--> /dev/pts/2
Jul 24 14:57:00 KR NetworkManager[175]: <info> [1563991020.3823] manager: (ppp0): new Generic device (/org/freedesktop/NetworkManager/Devices/3)
Jul 24 14:57:00 KR kernel: [ 2836.194350] nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers instead.
Jul 24 14:57:00 KR pptp[2579]: anon log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jul 24 14:57:00 KR pptp[2579]: anon log[ctrlp_disp:pptp_ctrl.c:781]: Received Start Control Connection Reply
Jul 24 14:57:00 KR pptp[2579]: anon log[ctrlp_disp:pptp_ctrl.c:815]: Client connection established.
Jul 24 14:57:00 KR NetworkManager[175]: <info> [1563991020.5626] devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Jul 24 14:57:00 KR NetworkManager[175]: <info> [1563991020.5677] device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Jul 24 14:57:01 KR pppd[2564]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf8403f30> <pcomp> <accomp>]
Jul 24 14:57:01 KR pptp[2579]: anon log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 7 'Outgoing-Call-Request'
Jul 24 14:57:01 KR pptp[2579]: anon log[ctrlp_disp:pptp_ctrl.c:900]: Received Outgoing Call Reply.
Jul 24 14:57:01 KR pptp[2579]: anon log[ctrlp_disp:pptp_ctrl.c:939]: Outgoing call established (call ID 2536, peer's call ID 3200).
Jul 24 14:57:01 KR pppd[2564]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x404aa2bc> <pcomp> <accomp>]
Jul 24 14:57:01 KR pppd[2564]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x404aa2bc> <pcomp> <accomp>]
Jul 24 14:57:04 KR pppd[2564]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf8403f30> <pcomp> <accomp>]
Jul 24 14:57:04 KR pppd[2564]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xf8403f30> <pcomp> <accomp>]
Jul 24 14:57:04 KR pppd[2564]: sent [LCP EchoReq id=0x0 magic=0xf8403f30]
Jul 24 14:57:04 KR pppd[2564]: rcvd [LCP EchoReq id=0x0 magic=0x404aa2bc]
Jul 24 14:57:04 KR pppd[2564]: sent [LCP EchoRep id=0x0 magic=0xf8403f30]
Jul 24 14:57:04 KR pppd[2564]: rcvd [CHAP Challenge id=0xc4 <dc846ef413987a63ed37ebb09129d0fa>, name = "KR"]
Jul 24 14:57:04 KR pppd[2564]: added response cache entry 0
Jul 24 14:57:04 KR pppd[2564]: sent [CHAP Response id=0xc4 <9324609a5bc239659bb6624960c23fd500000000000000007be00a11b0585bc799f5ad03bbaabcdafc1c2694f309690600>, name = "kr"]
Jul 24 14:57:04 KR pppd[2564]: rcvd [LCP EchoRep id=0x0 magic=0x404aa2bc]
Jul 24 14:57:04 KR pppd[2564]: rcvd [CHAP Success id=0xc4 "S=05E1C22A4DEF70B4FAA6F8E81BEF869F7BD46B32 M=Access granted"]
Jul 24 14:57:04 KR pppd[2564]: response found in cache (entry 0)
Jul 24 14:57:04 KR pppd[2564]: CHAP authentication succeeded
Jul 24 14:57:04 KR pppd[2564]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
Jul 24 14:57:04 KR pppd[2564]: rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
Jul 24 14:57:04 KR pppd[2564]: sent [CCP ConfReq id=0x1]
Jul 24 14:57:04 KR pppd[2564]: sent [CCP ConfRej id=0x1 <mppe +H -M +S -L -D -C>]
Jul 24 14:57:04 KR pppd[2564]: rcvd [IPCP TermAck id=0x1]
Jul 24 14:57:04 KR pppd[2564]: rcvd [CCP ConfAck id=0x1]
Jul 24 14:57:04 KR pppd[2564]: rcvd [LCP TermReq id=0x2 "MPPE required but peer refused"]
Jul 24 14:57:04 KR pppd[2564]: LCP terminated by peer (MPPE required but peer refused)
Jul 24 14:57:04 KR pppd[2564]: sent [LCP TermAck id=0x2]
Jul 24 14:57:04 KR pptp[2579]: anon log[pptp_read_some:pptp_ctrl.c:586]: read returned zero, peer has closed
Jul 24 14:57:04 KR pptp[2579]: anon log[callmgr_main:pptp_callmgr.c:269]: Closing connection (shutdown)
Jul 24 14:57:04 KR pptp[2579]: anon log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 12 'Call-Clear-Request'
Jul 24 14:57:04 KR pptp[2579]: anon log[pptp_read_some:pptp_ctrl.c:586]: read returned zero, peer has closed
Jul 24 14:57:04 KR pptp[2579]: anon log[call_callback:pptp_callmgr.c:84]: Closing connection (call state)
Jul 24 14:57:04 KR pppd[2564]: Script pptp 10.0.0.6 --nolaunchpppd finished (pid 2568), status = 0x0
Jul 24 14:57:04 KR pppd[2564]: Modem hangup
Jul 24 14:57:04 KR NetworkManager[175]: <info> [1563991024.5745] devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Jul 24 14:57:04 KR pppd[2564]: Connection terminated.
Jul 24 14:57:04 KR pppd[2564]: Exit.



  


2. Achei, solução foi adicionar essas linhas ao arquivo da vpn

Jorge Santos
jorgessn

(usa Ubuntu)

Enviado em 24/07/2019 - 17:29h

require-mppe-128
ipparam vpnStart
persist






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts