Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2633 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  réseaux et sécurité

  probleme VPN PPTP sous linux

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

probleme VPN PPTP sous linux

n°845599
dam1330
...
Posté le 24-09-2006 à 16:09:41  profilanswer
 

J'ai installé un serveur pptpd sur ma debian, noyau 2.6.18.
 
j'ai suivi ce tuto:
http://wiki.gadz.org/Linux/TunnelVPNAvecPptp
 
J'ai testé avec et sans le mppe, mais bon comme j'ai un noyau récent ca devrait etre bon, j'ai bien les modules ip_gre et ppp_mpe.
 
Je teste dans un réseau local, pas de pare-feu ni routeur.
 
quand je me connecte depuis un client XP j'ai une erreur 619. et voici le log sur le serveur:
 
 
Sep 24 16:04:56 localhost pptpd[1506]: MGR: Manager process started
Sep 24 16:04:56 localhost pptpd[1506]: MGR: Maximum of 6 connections available
Sep 24 16:05:13 localhost pptpd[1509]: CTRL: Client 192.168.0.9 control connection started
Sep 24 16:05:13 localhost pptpd[1509]: CTRL: Starting call (launching pppd, opening GRE)
Sep 24 16:05:13 localhost pppd[1510]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so is for pppd version 2.4.3, this is 2.4.4
Sep 24 16:05:13 localhost pptpd[1509]: GRE: read(fd=6,buffer=80505a0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Sep 24 16:05:13 localhost pptpd[1509]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Sep 24 16:05:13 localhost pptpd[1509]: CTRL: Reaping child PPP[1510]
Sep 24 16:05:13 localhost pptpd[1509]: CTRL: Client 192.168.0.9 control connection finished
 
 
Qui a une idée ?
 
cat /etc/ppp/pptpd-options
###############################################################################
# $Id: pptpd-options 4255 2004-10-03 18:44:00Z rene $
#
# Sample Poptop PPP options file /etc/ppp/pptpd-options
# Options used by PPP when a connection arrives from a client.
# This file is pointed to by /etc/pptpd.conf option keyword.
# Changes are effective on the next connection.  See "man pppd".
#
# You are expected to change this file to suit your system.  As
# packaged, it requires PPP 2.4.2 and the kernel MPPE module.
###############################################################################
 
 
# Authentication
 
# Name of the local system for authentication purposes
# (must match the second field in /etc/ppp/chap-secrets entries)
name pptpd
 
# Optional: domain name to use for authentication
# domain mydomain.net
 
# Strip the domain prefix from the username before authentication.
# (applies if you use pppd with chapms-strip-domain patch)
#chapms-strip-domain
 
 
# Encryption
# Debian: on systems with a kernel built with the package
# kernel-patch-mppe >= 2.4.2 and using ppp >= 2.4.2, ...
# {{{
refuse-pap
refuse-chap
refuse-mschap
# Require the peer to authenticate itself using MS-CHAPv2 [Microsoft
# Challenge Handshake Authentication Protocol, Version 2] authentication.
require-mschap-v2
# Require MPPE 128-bit encryption
# (note that MPPE requires the use of MSCHAP-V2 during authentication)
#require-mppe-128
# }}}
 
 
 
 
# Network and Routing
 
# If pppd is acting as a server for Microsoft Windows clients, this
# option allows pppd to supply one or two DNS (Domain Name Server)
# addresses to the clients.  The first instance of this option
# specifies the primary DNS address; the second instance (if given)
# specifies the secondary DNS address.
ms-dns 212.27.54.252
#ms-dns 10.0.0.2
 
# If pppd is acting as a server for Microsoft Windows or "Samba"
# clients, this option allows pppd to supply one or two WINS (Windows
# Internet Name Services) server addresses to the clients.  The first
# instance of this option specifies the primary WINS address; the
# second instance (if given) specifies the secondary WINS address.
#ms-wins 10.0.0.3
#ms-wins 10.0.0.4
 
# Add an entry to this system's ARP [Address Resolution Protocol]
# table with the IP address of the peer and the Ethernet address of this
# system.  This will have the effect of making the peer appear to other
# systems to be on the local ethernet.
# (you do not need this if your PPTP server is responsible for routing
# packets to the clients -- James Cameron)
proxyarp
 
# Debian: do not replace the default route
nodefaultroute
 
 
# Logging
 
# Enable connection debugging facilities.
# (see your syslog configuration for where pppd sends to)
debug
 
# Print out all the option values which have been set.
# (often requested by mailing list to verify options)
#dump
 
 
# Miscellaneous
 
# Create a UUCP-style lock file for the pseudo-tty to ensure exclusive
# access.
lock
 
# Disable BSD-Compress compression
nobsdcomp

mood
Publicité
Posté le 24-09-2006 à 16:09:41  profilanswer
 

n°845602
Bigon
Avis défavorable
Posté le 24-09-2006 à 16:16:43  profilanswer
 

Tu es sous quel version de debian?

n°845604
dam1330
...
Posté le 24-09-2006 à 16:18:58  profilanswer
 

sid ...

n°845608
dam1330
...
Posté le 24-09-2006 à 16:28:51  profilanswer
 

ouais bien voila c'est le paquet de SID qui est foireux, je viens de mettre ppp, libcap07 et pptpd de sarge et ca marche

n°845610
dam1330
...
Posté le 24-09-2006 à 16:31:17  profilanswer
 
n°845667
Bigon
Avis défavorable
Posté le 24-09-2006 à 20:19:18  profilanswer
 

bin vi c'est moi qui aie fait le bug repport :o

n°845673
Profil sup​primé
Posté le 24-09-2006 à 21:03:10  answer
 

BIGON  :fou:  
 
Tu pourrais au moins répondre quand on t'appelle  :fou:

n°845973
dam1330
...
Posté le 26-09-2006 à 12:59:57  profilanswer
 

Bigon a écrit :

bin vi c'est moi qui aie fait le bug repport :o


 
 
et t'as trouvé une solution ?

n°846261
Bigon
Avis défavorable
Posté le 27-09-2006 à 01:49:53  profilanswer
 

il faut recompiler le pkg en modifiant la version de ppp dans un des header (plugin/patchlevel.h ?) ou alors désactiver le plugin 'logwtmp' dans le fichier de conf


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  réseaux et sécurité

  probleme VPN PPTP sous linux

 

Sujets relatifs
Recherche distrib linux simpleInstallation de GNU/Linux
probleme firefoxproblème de boot win/linux
Problème Linux koppix et connection ethenetdébutant : installation de linux
probleme de put dans un ftpcherche distrib linux bootable
Plus de sujets relatifs à : probleme VPN PPTP sous linux


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR