J'utilise une debian 2.2.18 pre-21.
J'essai d'établir un VPN PPTP entre un serveur linux PoPToP et un client Netopia R910.
Ils sont tous deux connectés par ADSL et accèdent correctement au net.
Après une tentative de connexion voici mes logs :
Voici le log : Daemon.log
Jun 17 16:18:28 equibox pptpd[26063]: MGR: Launching /usr/sbin/pptpctrl
to handle client
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: local address = 192.168.0.129
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: remote address = 192.168.0.132
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: pppd speed = 115200
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: pppd options file = /etc/ppp/options.pptpd
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: Client 193.251.57.183 control
connection started
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: Received PPTP Control Message
(type: 1)
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: Made a START CTRL CONN
RPLY packet
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: I wrote 156 bytes to the
client.
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: Sent packet to client
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: Received PPTP Control Message
(type: 7)
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: Set parameters to 152 maxbps,
16 window size
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: Made a OUT CALL RPLY packet
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: Starting call (launching
pppd, opening GRE)
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: pty_fd = 5
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: tty_fd = 6
Jun 17 16:18:28 equibox pptpd[26064]: CTRL (PPPD Launcher): Connection
speed = 115200
Jun 17 16:18:28 equibox pptpd[26064]: CTRL (PPPD Launcher): local address
= 192.168.0.129
Jun 17 16:18:28 equibox pptpd[26064]: CTRL (PPPD Launcher): remote
address = 192.168.0.132
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: I wrote 32 bytes to the
client.
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: Sent packet to client
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: Received PPTP Control Message
(type: 15)
Jun 17 16:18:28 equibox pptpd[26063]: CTRL: Got a SET LINK INFO packet
with standard ACCMs
Jun 17 16:18:28 equibox pptpd[26063]: GRE: Discarding duplicate packet
Jun 17 16:18:35 equibox pptpd[26063]: CTRL: Received PPTP Control Message
(type: 5)
Jun 17 16:18:35 equibox pptpd[26063]: CTRL: Made a ECHO RPLY packet
Jun 17 16:18:35 equibox pptpd[26063]: CTRL: I wrote 20 bytes to the
client.
Jun 17 16:18:35 equibox pptpd[26063]: CTRL: Sent packet to client
Jun 17 16:18:58 equibox pptpd[26042]: MGR: Reaped child 26063
Jun 17 16:18:58 equibox pptpd[26063]: CTRL: Received PPTP Control Message
(type: 12)
Jun 17 16:18:58 equibox pptpd[26063]: CTRL: Made a CALL DISCONNECT
RPLY packet
Jun 17 16:18:58 equibox pptpd[26063]: CTRL: Received CALL CLR request
(closing call)
Jun 17 16:18:58 equibox pptpd[26063]: CTRL: I wrote 148 bytes to the
client.
Jun 17 16:18:58 equibox pptpd[26063]: CTRL: Sent packet to client
Jun 17 16:18:58 equibox pptpd[26063]: CTRL: Error with select(), quitting
Jun 17 16:18:58 equibox pptpd[26063]: CTRL: Client 193.251.57.183 control
connection finished
Jun 17 16:18:58 equibox pptpd[26063]: CTRL: Exiting now
Mon log : Options.pptp
lock
debug
auth
+chap
proxyarp
Et le log : Pptp.conf
speed 115200
option /etc/ppp/options.pptpd
debug
localip 192.168.0.128-130
remoteip 192.168.0.131-159
La connexion semble bien commencer (cf le log : daemon) mais est rejetée par le client vers la fin (type 12)
Je me demande si cela ne vient pas de l'abscence de cryptage mppe de la part du serveur qui serait indispensable pour le client netopia R910 ?
Mes tentatives de connexion par un client Windows 2000 dernière le routeur Netopia ont échoué aussi.
J'ai aussi des doutes sur :
- La configuration des adresses remote et local sur le serveur et le client (quel mask ? même subnet de class C ?)
- Le réglage des options de pptpd
Faut-il que je me lance dans l'installation des patches d'encryption pour PPP ?
Merci d'avance
JBL