El 20/04/11 08:30, Aldo Martinez Selleras escribió:
he configurado un servidor de conexiones vpn con pptp como planteo en el asunto del correo, expongo un +/- de como se llega a este servidor


LAN --- ROUTER (cisco) --- servidor PPTP
LAN --- ROUTER (cisco) --- servidor CORREO


o sea, para llegar al servidor de vpn desde una de las estaciones de la LAN paso a traves de un router, el tema es que desde otra maquina en la misma interface del router me conecto perfectamente a la vpn, pero desde las maquinas de la LAN no, me devuelve un error en el servidor de VPN

Apr 20 08:23:46 bck01 pptpd[2654]: MGR: Launching /usr/sbin/pptpctrl to handle client
Apr 20 08:23:46 bck01 pptpd[2654]: CTRL: local address = 192.168.0.1
Apr 20 08:23:46 bck01 pptpd[2654]: CTRL: remote address = 192.168.0.10
Apr 20 08:23:46 bck01 pptpd[2654]: CTRL: pppd options file = /etc/ppp/pptpd-options Apr 20 08:23:46 bck01 pptpd[2654]: CTRL: Client xxx.xxx.xxx.xxx control connection started Apr 20 08:23:46 bck01 pptpd[2654]: CTRL: Received PPTP Control Message (type: 1) Apr 20 08:23:46 bck01 pptpd[2654]: CTRL: Made a START CTRL CONN RPLY packet
Apr 20 08:23:46 bck01 pptpd[2654]: CTRL: I wrote 156 bytes to the client.
Apr 20 08:23:46 bck01 pptpd[2654]: CTRL: Sent packet to client
Apr 20 08:23:47 bck01 pptpd[2654]: CTRL: Received PPTP Control Message (type: 7) Apr 20 08:23:47 bck01 pptpd[2654]: CTRL: Set parameters to 10000000 maxbps, 3 window size
Apr 20 08:23:47 bck01 pptpd[2654]: CTRL: Made a OUT CALL RPLY packet
Apr 20 08:23:47 bck01 pptpd[2654]: CTRL: Starting call (launching pppd, opening GRE)
Apr 20 08:23:47 bck01 pptpd[2654]: CTRL: pty_fd = 6
Apr 20 08:23:47 bck01 pptpd[2654]: CTRL: tty_fd = 7
Apr 20 08:23:47 bck01 pptpd[2654]: CTRL: I wrote 32 bytes to the client.
Apr 20 08:23:47 bck01 pptpd[2655]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd Apr 20 08:23:47 bck01 pptpd[2655]: CTRL (PPPD Launcher): local address = 192.168.0.1 Apr 20 08:23:47 bck01 pptpd[2655]: CTRL (PPPD Launcher): remote address = 192.168.0.10
Apr 20 08:23:47 bck01 pptpd[2654]: CTRL: Sent packet to client
Apr 20 08:23:47 bck01 pppd[2655]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Apr 20 08:23:47 bck01 pppd[2655]: pptpd-logwtmp: $Version$
Apr 20 08:23:47 bck01 pptpd[2654]: GRE: accepting packet #1
Apr 20 08:23:47 bck01 pptpd[2654]: GRE: read(fd=7,buffer=80505a0,len=8260) from network failed: status = -1 error = No route to host Apr 20 08:23:47 bck01 pptpd[2654]: CTRL: GRE read or PTY write failed (gre,pty)=(7,6)
Apr 20 08:23:47 bck01 pptpd[2654]: CTRL: Reaping child PPP[2655]
Apr 20 08:23:47 bck01 kernel: [57794.828056] PPP generic driver version 2.4.2
Apr 20 08:23:47 bck01 pptpd[2110]: MGR: Reaped child 2654
Apr 20 08:23:47 bck01 pptpd[2654]: CTRL: Client xxx.xxx.xxx.xxx control connection finished
Apr 20 08:23:47 bck01 pptpd[2654]: CTRL: Exiting now
Apr 20 08:23:47 bck01 pppd[2655]: pppd 2.4.4 started by root, uid 0
Apr 20 08:23:47 bck01 pppd[2655]: Failed to open /dev/pts/1: No such file or directory
Apr 20 08:23:47 bck01 pppd[2655]: Exit.


estas son las lineas con anormalidades,

Apr 20 08:23:47 bck01 pptpd[2654]: GRE: read(fd=7,buffer=80505a0,len=8260) from network failed: status = -1 error = No route to host Apr 20 08:23:47 bck01 pptpd[2654]: CTRL: GRE read or PTY write failed (gre,pty)=(7,6)

y es interesante, xq desde este servidor yo le hago ping perfectamente a mi estacion de trabajo, q es desde donde intento conectarme!

supongo que pueda ser algun problema con este tunnel(GRE) que crea la vpn.

si alguien me pudiera dar una luz al respecto

mil gracias de antemano

______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

Me parece que es un problema de que te falta alguna ruta, el error lo dice:

Apr 20 08:23:47 bck01 pptpd[2654]: GRE: read(fd=7,buffer=80505a0,len=8260) from network failed: status = -1 error = !!!"No route to host"!!!

Saludos.

--

Raydel Hernández Martínez.
Nodo Provincial TinoPRI
Subdirección Tecnología y Desarrollo.
Dirección Provincial de Joven Club.
Telef. 728706 Pizarra. 75-23-11 ext. 120.
Dirección: Calle Martí. Esq. Cuarteles # 124, Pinar del Río.


E-mail:ray...@pri.jovenclub.cu <mailto:ray...@pri.jovenclub.cu>
Jabber: ray...@jabber.pri.jovenclub.cu <mailto:ray...@jabber.pri.jovenclub.cu>
Linux_User: # 466430






______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

Responder a