Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[VPN]PPTP et MPPE (resolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
GaMeS
Guru
Guru


Joined: 08 Nov 2005
Posts: 374
Location: Nantes

PostPosted: Wed Oct 03, 2007 12:11 am    Post subject: [VPN]PPTP et MPPE (resolu) Reply with quote

Bonsoir,

Je dois me connecté sur un VPN qui est sous chap MS-v2.

J'ai donc configuré ppp avec le support mppe-mppc, la connection s'effectue et je reçois bien une ip.

Quote:

pppd options in effect:
debug # (from command line)
nodetach # (from command line)
logfd 2 # (from command line)
dump # (from command line)
noauth # (from /etc/ppp/options.supinfo)
name XXXXX # (from /etc/ppp/peers/supinfo)
remotename supinfo # (from /etc/ppp/peers/supinfo)
# (from /etc/ppp/options.supinfo)
pty pptp vpn.supinfo.com --nolaunchpppd # (from /etc/ppp/peers/supinfo)
mru 1000 # (from /etc/ppp/options.supinfo)
mtu 1000 # (from /etc/ppp/options.supinfo)
lcp-echo-failure 10 # (from /etc/ppp/options.supinfo)
lcp-echo-interval 10 # (from /etc/ppp/options.supinfo)
ipparam supinfo # (from /etc/ppp/peers/supinfo)
nobsdcomp # (from /etc/ppp/options.supinfo)
nodeflate # (from /etc/ppp/options.supinfo)
using channel 12
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <mru 1000> <asyncmap 0x0> <magic 0x44f24eac> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <mru 1400> <auth chap MS-v2> <magic 0x615d0955> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:4c.d4.c2.76.4f.37.4e.8f.bf.4c.94.ca.45.4a.b3.4e.00.00.00.00]> < 17 04 f1 81>]
sent [LCP ConfRej id=0x0 <callback CBCP> <mrru 1614> < 17 04 f1 81>]
rcvd [LCP ConfAck id=0x1 <mru 1000> <asyncmap 0x0> <magic 0x44f24eac> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1400> <auth chap MS-v2> <magic 0x615d0955> <pcomp> <accomp> <endpoint [local:4c.d4.c2.76.4f.37.4e.8f.bf.4c.94.ca.45.4a.b3.4e.00.00.00.00]>]
sent [LCP ConfAck id=0x1 <mru 1400> <auth chap MS-v2> <magic 0x615d0955> <pcomp> <accomp> <endpoint [local:4c.d4.c2.76.4f.37.4e.8f.bf.4c.94.ca.45.4a.b3.4e.00.00.00.00]>]
sent [LCP EchoReq id=0x0 magic=0x44f24eac]
rcvd [CHAP Challenge id=0x0 <02a03cafa4dbfac369ee3ee5b5d03be3>, name = "VPN-PAR-FR"]
sent [CHAP Response id=0x0 <048b15134d927e21eed7962786526d37000000000000000081bc53ee7011e7125844dc8afb9f250241bb2b217604a3bb00>, name = "XXXXX"]
rcvd [LCP EchoRep id=0x0 magic=0x615d0955]
rcvd [CHAP Success id=0x0 "S=05C95279E5A66ACD88F0FB8793F825985A3EBDA9"]
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [CCP ConfReq id=0x3 <mppe +H +M +S +L -D +C>]
sent [CCP ConfReq id=0x1 <mppe -H -M -S -L -D -C>]
sent [CCP ConfNak id=0x3 <mppe -H -M +S -L -D -C>]
rcvd [IPCP ConfReq id=0x4 <addr 10.1.80.50>]
sent [IPCP ConfAck id=0x4 <addr 10.1.80.50>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
rcvd [CCP ConfNak id=0x1 <mppe -H -M +S -L -D -C>]
sent [CCP ConfReq id=0x2 <mppe -H -M +S -L -D -C>]
rcvd [CCP ConfReq id=0x5 <mppe -H -M +S -L -D -C>]
sent [CCP ConfAck id=0x5 <mppe -H -M +S -L -D -C>]
rcvd [IPCP ConfNak id=0x2 <addr 10.1.80.57>]
sent [IPCP ConfReq id=0x3 <addr 10.1.80.57>]
rcvd [CCP ConfAck id=0x2 <mppe -H -M +S -L -D -C>]
MPPE 128-bit stateful compression enabled
rcvd [IPCP ConfAck id=0x3 <addr 10.1.80.57>]
local IP address 10.1.80.57
remote IP address 10.1.80.50
Script /etc/ppp/ip-up started (pid 14575)


Quote:

ppp0 Lien encap:Protocole Point-à-Point
inet adr:10.1.80.89 P-t-P:10.1.80.50 Masque:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1000 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:3
RX bytes:165 (165.0 b) TX bytes:590 (590.0 b)


Mais quand j'essaye de pinguer sur le DHCP qui m'a donné une ip par exemple ou autre..impossible

Quote:

rcvd [proto=0x8f] 7a 8e c8 c6 66 6a 77 6c be 84 83 0a 72 75 ad 55 84 d1 ae 2e 92 8b 23 a3 90 06 d2 7e be 3f b9 d5 ...
Unsupported protocol 0x8f received
sent [LCP ProtRej id=0x2 00 8f 7a 8e c8 c6 66 6a 77 6c be 84 83 0a 72 75 ad 55 84 d1 ae 2e 92 8b 23 a3 90 06 d2 7e be 3f ...]
rcvd [proto=0x6e34] 9c b5 e0 38 42 cf cb 2f 5a 6e 88 f2 dd 0d d9 6b 94 72 27 e4 19 8f fb 5d f6 0f da cc 2f c9 d8 ac ...
Unsupported protocol 0x6e34 received
sent [LCP ProtRej id=0x3 6e 34 9c b5 e0 38 42 cf cb 2f 5a 6e 88 f2 dd 0d d9 6b 94 72 27 e4 19 8f fb 5d f6 0f da cc 2f c9 ...]
rcvd [proto=0x5c58] 67 1b 06 cf 22 62 40 fb 00 8a 5d dd 97 2d 37 33 c8 81 12 c8 23 71 76 82 3a 27 06 ca 5b 74 c8 ea ...
Unsupported protocol 0x5c58 received
sent [LCP ProtRej id=0x4 5c 58 67 1b 06 cf 22 62 40 fb 00 8a 5d dd 97 2d 37 33 c8 81 12 c8 23 71 76 82 3a 27 06 ca 5b 74 ...]


Surtout le "Unsupported protocol" qui fais peur, mais je vois pas comment résoudre le problème.

Merci d'avance !

EDIT : Comme quoi je cherche mal... j'en ai fait des sites web etc... même plein de post sur le forum mais la solution était bien cachée !

Il suffisait de modifier le fichier /etc/ppp/options.VPNNAME et d'y rajouter mppe stateless avant les lcp-echo etc...
Le lien ci-contre pour avoir la solution plus détaillée https://forums.gentoo.org/viewtopic-t-572434-highlight-mppe.html
_________________
$this->setLife(FALSE);
printf "I'm not a gamer !";
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum