pptp está recusando tráfego

1

Eu configurei um servidor pptp (VPN) no CentOS 6.5. Eu consigo conectar, mas infelizmente, quando tento carregar uma página, ela fica pendurada em 'Conectando ...' Eu não tenho ideia do que poderia causar isso ...

tail /var/log/messages retorna:

Apr 29 12:55:42 ps-vpn001 pptpd[1287]: GRE: read(fd=6,buffer=611860,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs Apr 29 12:55:42 ps-vpn001 pptpd[1287]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7) Apr 29 12:55:42 ps-vpn001 pptpd[1287]: CTRL: Client x.x.x.x control connection finished Apr 29 12:55:59 ps-vpn001 pptpd[1296]: CTRL: Client x.x.x.x control connection started Apr 29 12:55:59 ps-vpn001 pptpd[1296]: CTRL: Starting call (launching pppd, opening GRE) Apr 29 12:55:59 ps-vpn001 pppd[1297]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded. Apr 29 12:55:59 ps-vpn001 pppd[1297]: pppd 2.4.5 started by root, uid 0 Apr 29 12:55:59 ps-vpn001 pppd[1297]: Using interface ppp0 Apr 29 12:55:59 ps-vpn001 pppd[1297]: Connect: ppp0 <--> /dev/pts/1 Apr 29 12:55:59 ps-vpn001 pppd[1297]: peer from calling number x.x.x.x authorized Apr 29 12:55:59 ps-vpn001 pppd[1297]: MPPE 128-bit stateless compression enabled Apr 29 12:55:59 ps-vpn001 pppd[1297]: found interface eth0 for proxy arp Apr 29 12:55:59 ps-vpn001 pppd[1297]: local IP address 188.166.94.95 Apr 29 12:55:59 ps-vpn001 pppd[1297]: remote IP address 188.166.94.95 Apr 29 12:56:20 ps-vpn001 pppd[1297]: LCP terminated by peer (MPPE disabled) Apr 29 12:56:20 ps-vpn001 pppd[1297]: Connect time 0.4 minutes. Apr 29 12:56:20 ps-vpn001 pppd[1297]: Sent 0 bytes, received 22428 bytes. Apr 29 12:56:20 ps-vpn001 pptpd[1296]: CTRL: EOF or bad error reading ctrl packet length. Apr 29 12:56:20 ps-vpn001 pptpd[1296]: CTRL: couldn't read packet header (exit) Apr 29 12:56:20 ps-vpn001 pptpd[1296]: CTRL: CTRL read failed Apr 29 12:56:20 ps-vpn001 pppd[1297]: Modem hangup Apr 29 12:56:20 ps-vpn001 pppd[1297]: Connection terminated. Apr 29 12:56:20 ps-vpn001 pppd[1297]: Exit. Apr 29 12:56:20 ps-vpn001 pptpd[1296]: CTRL: Client x.x.x.x control connection finished

Onde x.x.x.x é o meu IP residencial.

Meu options.pptpd : link

    
por William Edwards 29.04.2015 / 19:05

1 resposta

1

A primeira abordagem (e mais dolorosa) é tentar depurar o problema, seguindo o link e ativando < um log de depuração .

O segundo é seguir um guia diferente para configurar uma conexão VPN PPTP ou, de preferência, um guia OpenVPN como este :

    
por 08.05.2015 / 02:44