IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Administration Discussion :

Connexion VPN OK, mais pas de ping, ni ssh


Sujet :

Administration

  1. #1
    Candidat au Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Juin 2015
    Messages
    5
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Juin 2015
    Messages : 5
    Points : 3
    Points
    3
    Par défaut Connexion VPN OK, mais pas de ping, ni ssh
    Bonjour,

    Je suis embété pour me connecter à un VPN sous Ubuntu 14.04.

    La passerelle VPN est hébergé chez hosteur, donc je n'y ai pas accès. Mais je parviens à me connecter à partir d'autres PC que le mien.
    Le VPN fonctionne donc.

    J'utilise (sous ubuntu 14.04) "L2TP IPsec VPN Manager 1.0.9". J'ai entré les configs (login /mdp + pre-shared key). et après connexion on m'affiche "connecté à 217.xx.xx.xx...".
    Pourtant, impossible de ping-er une IP du VPN ou même de m'y connecter en ssh.

    J'ai cherché sur le net, et essayé d'activer imcp sur mon firewall, rien n'y change.
    Je ne suis pas très fort côté réseau, Quelqu'un peut m'aider ?

    D'avance merci

  2. #2
    Expert éminent sénior
    Avatar de JML19
    Homme Profil pro
    Retraité : Electrotechnicien Electronicien Informaticien de la SNCF
    Inscrit en
    Décembre 2010
    Messages
    14 932
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Corrèze (Limousin)

    Informations professionnelles :
    Activité : Retraité : Electrotechnicien Electronicien Informaticien de la SNCF
    Secteur : Transports

    Informations forums :
    Inscription : Décembre 2010
    Messages : 14 932
    Points : 23 240
    Points
    23 240
    Billets dans le blog
    10
    Par défaut
    Bonjour

    As-tu testé un traceroute (ICI) pour voir où cela bloque ?
    Vous pouvez utiliser les FAQ (ICI) ou les Tutoriels (ICI) et aussi accéder au blog (ICI)

  3. #3
    Candidat au Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Juin 2015
    Messages
    5
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Juin 2015
    Messages : 5
    Points : 3
    Points
    3
    Par défaut
    Traceroute:
    moi@System:~$ traceroute XXX.XX.X.XXX
    traceroute to XXX.XX.X.XXX (XXX.XX.X.XXX), 30 hops max, 60 byte packets
    1 10.1.5.248 (10.1.5.248) 0.165 ms 0.165 ms 0.158 ms
    2 * * *
    3 * * *
    4 * * *
    5 * * *
    6 * * *
    7 * * *
    8 * * *
    9 * * *
    10 * * *
    11 * * *
    12 * * *
    13 * * *
    14 * * *
    15 * * *
    16 * * *
    17 * * *
    18 smtp.#####.fr (XXX.XX.X.XXX) 39.190 ms 39.370 ms 39.173 ms

    Tracepath:
    moi@System:~$ tracepath xxx.xx.x.xxx
    1?: [LOCALHOST] pmtu 1500
    1: 10.1.5.248 1.519ms
    1: 10.1.5.248 1.702ms
    2: no reply
    3: no reply
    4: no reply
    5: no reply
    6: no reply
    7: no reply
    8: no reply
    9: no reply
    10: no reply
    11: no reply
    12: no reply
    13: no reply
    14: no reply
    15: no reply
    16: no reply
    17: no reply
    18: smtp.#####.fr 36.335ms reached
    Resume: pmtu 1500 hops 18 back 18

  4. #4
    Expert éminent sénior
    Avatar de JML19
    Homme Profil pro
    Retraité : Electrotechnicien Electronicien Informaticien de la SNCF
    Inscrit en
    Décembre 2010
    Messages
    14 932
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Corrèze (Limousin)

    Informations professionnelles :
    Activité : Retraité : Electrotechnicien Electronicien Informaticien de la SNCF
    Secteur : Transports

    Informations forums :
    Inscription : Décembre 2010
    Messages : 14 932
    Points : 23 240
    Points
    23 240
    Billets dans le blog
    10
    Par défaut
    Tu ne sors pas de ton adresse IP local tu ne vas même pas jusqu'au modem routeur tu n'aurais pas un problème avec le pilote de ta carte réseau ?
    Vous pouvez utiliser les FAQ (ICI) ou les Tutoriels (ICI) et aussi accéder au blog (ICI)

  5. #5
    Candidat au Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Juin 2015
    Messages
    5
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Juin 2015
    Messages : 5
    Points : 3
    Points
    3
    Par défaut
    Le truc, c'est que connecté (soit disant) au VPN, j'ai l'adresse IP de la passerelle VPN (d'ou le localhost), et plus mon IP 'normale'.

    Les autres PC se connectant à mon VPN gardent leurs IPs de base.
    Bizarre.

  6. #6
    Expert éminent sénior
    Avatar de JML19
    Homme Profil pro
    Retraité : Electrotechnicien Electronicien Informaticien de la SNCF
    Inscrit en
    Décembre 2010
    Messages
    14 932
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Corrèze (Limousin)

    Informations professionnelles :
    Activité : Retraité : Electrotechnicien Electronicien Informaticien de la SNCF
    Secteur : Transports

    Informations forums :
    Inscription : Décembre 2010
    Messages : 14 932
    Points : 23 240
    Points
    23 240
    Billets dans le blog
    10
    Par défaut
    Tu as testé ton paramétrage IP ?
    Vous pouvez utiliser les FAQ (ICI) ou les Tutoriels (ICI) et aussi accéder au blog (ICI)

  7. #7
    Membre éclairé
    Homme Profil pro
    Administrateur systèmes et réseaux
    Inscrit en
    Septembre 2011
    Messages
    610
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Administrateur systèmes et réseaux
    Secteur : High Tech - Opérateur de télécommunications

    Informations forums :
    Inscription : Septembre 2011
    Messages : 610
    Points : 713
    Points
    713
    Par défaut
    Salut,
    As tu défini les routes dans ta conf VPN ?

  8. #8
    Candidat au Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Juin 2015
    Messages
    5
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Juin 2015
    Messages : 5
    Points : 3
    Points
    3
    Par défaut
    Je n'ai pas eu à paramétrer de routes, l'option "Use default gatexay on the remote network" est cochée par défaut.
    Qu'aurais-je à vérifier de ma config réseau (pour info, j'ai parfaitement accès à internet, en mode VPN connecté ou pas)

    Voici mes logs VPN:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    juin 25 09:17:44.532 ipsec_setup: Stopping Openswan IPsec...
    juin 25 09:17:46.304 Stopping xl2tpd: xl2tpd.
    juin 25 09:17:46.304 xl2tpd[1533]: death_handler: Fatal signal 15 received
    juin 25 09:17:46.323 ipsec_setup: Starting Openswan IPsec U2.6.38/K3.16.0-41-generic...
    juin 25 09:17:46.769 ipsec__plutorun: Starting Pluto subsystem...
    juin 25 09:17:46.775 ipsec__plutorun: adjusting ipsec.d to /etc/ipsec.d
    juin 25 09:17:46.780 recvref[30]: Protocol not available
    juin 25 09:17:46.780 xl2tpd[3299]: This binary does not support kernel L2TP.
    juin 25 09:17:46.781 xl2tpd[3302]: xl2tpd version xl2tpd-1.3.6 started on teddy-System PID:3302
    juin 25 09:17:46.781 xl2tpd[3302]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
    juin 25 09:17:46.781 xl2tpd[3302]: Forked by Scott Balmos and David Stipp, (C) 2001
    juin 25 09:17:46.781 xl2tpd[3302]: Inherited by Jeff McAdams, (C) 2002
    juin 25 09:17:46.781 xl2tpd[3302]: Forked again by Xelerance (www.xelerance.com) (C) 2006
    juin 25 09:17:46.781 xl2tpd[3302]: Listening on IP address 0.0.0.0, port 1701
    juin 25 09:17:46.781 Starting xl2tpd: xl2tpd.
    juin 25 09:17:46.814 ipsec__plutorun: 002 added connection description "VPNelis"
    juin 25 09:17:57.074 104 "VPNelis" #1: STATE_MAIN_I1: initiate
    juin 25 09:17:57.074 003 "VPNelis" #1: ignoring unknown Vendor ID payload [882fe56d6fd20dbc2251613b2ebe5beb]
    juin 25 09:17:57.074 003 "VPNelis" #1: received Vendor ID payload [Cisco-Unity]
    juin 25 09:17:57.074 003 "VPNelis" #1: received Vendor ID payload [XAUTH]
    juin 25 09:17:57.074 003 "VPNelis" #1: received Vendor ID payload [Dead Peer Detection]
    juin 25 09:17:57.074 003 "VPNelis" #1: received Vendor ID payload [RFC 3947] method set to=115 
    juin 25 09:17:57.074 106 "VPNelis" #1: STATE_MAIN_I2: sent MI2, expecting MR2
    juin 25 09:17:57.074 003 "VPNelis" #1: NAT-Traversal: Result using draft-ietf-ipsec-nat-t-ike (MacOS X): i am NATed
    juin 25 09:17:57.074 108 "VPNelis" #1: STATE_MAIN_I3: sent MI3, expecting MR3
    juin 25 09:17:57.074 004 "VPNelis" #1: STATE_MAIN_I4: ISAKMP SA established {auth=OAKLEY_PRESHARED_KEY cipher=oakley_3des_cbc_192 prf=oakley_sha group=modp1536}
    juin 25 09:17:57.074 117 "VPNelis" #2: STATE_QUICK_I1: initiate
    juin 25 09:17:57.074 010 "VPNelis" #2: STATE_QUICK_I1: retransmission; will wait 20s for response
    juin 25 09:17:57.074 004 "VPNelis" #2: STATE_QUICK_I2: sent QI2, IPsec SA established transport mode {ESP=>0xc82602ea <0xfe73dda7 xfrm=3DES_0-HMAC_SHA1 NATOA=none NATD=none DPD=none}
    juin 25 09:17:58.075 xl2tpd[3302]: Connecting to host 217.16.5.145, port 1701
    juin 25 09:18:00.113 xl2tpd[3302]: Connection established to 217.16.5.145, 1701.  Local: 25054, Remote: 15864 (ref=0/0).
    juin 25 09:18:00.113 xl2tpd[3302]: Calling on tunnel 25054
    juin 25 09:18:00.113 xl2tpd[3302]: check_control: Received out of order control packet on tunnel 15864 (got 0, expected 1)
    juin 25 09:18:00.113 xl2tpd[3302]: handle_packet: bad control packet!
    juin 25 09:18:00.114 xl2tpd[3302]: check_control: Received out of order control packet on tunnel 15864 (got 0, expected 1)
    juin 25 09:18:00.114 xl2tpd[3302]: handle_packet: bad control packet!
    juin 25 09:18:00.151 xl2tpd[3302]: Call established with 217.16.5.145, Local: 38786, Remote: 17681, Serial: 1 (ref=0/0)
    juin 25 09:18:00.151 xl2tpd[3302]: start_pppd: I'm running: 
    juin 25 09:18:00.151 xl2tpd[3302]: "/usr/sbin/pppd" 
    juin 25 09:18:00.151 xl2tpd[3302]: "passive" 
    juin 25 09:18:00.151 xl2tpd[3302]: "nodetach" 
    juin 25 09:18:00.151 xl2tpd[3302]: ":" 
    juin 25 09:18:00.151 xl2tpd[3302]: "file" 
    juin 25 09:18:00.151 xl2tpd[3302]: "/etc/ppp/VPNelis.options.xl2tpd" 
    juin 25 09:18:00.151 xl2tpd[3302]: "/dev/pts/12" 
    juin 25 09:18:00.257 pppd[3390]: Plugin passprompt.so loaded.
    juin 25 09:18:00.257 pppd[3390]: pppd 2.4.5 started by root, uid 0
    juin 25 09:18:00.271 pppd[3390]: Using interface ppp0
    juin 25 09:18:00.271 pppd[3390]: Connect: ppp0 <--> /dev/pts/12
    juin 25 09:18:03.311 pppd[3390]: CHAP authentication succeeded: Access granted
    juin 25 09:18:03.311 pppd[3390]: CHAP authentication succeeded
    juin 25 09:18:03.390 pppd[3390]: local  IP address 10.10.3.200
    juin 25 09:18:03.390 pppd[3390]: remote IP address 10.255.255.0

  9. #9
    Candidat au Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Juin 2015
    Messages
    5
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Juin 2015
    Messages : 5
    Points : 3
    Points
    3
    Par défaut
    C'est résolu,

    J'ai fini par ajouter
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    route add -net 10.10.3.0/24 dev ppp0
    et je peux maintenant ping-er les serveurs sur le VPN et m'y connecter en SSH !

    Merci à tous !

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 2
    Dernier message: 07/04/2015, 16h55
  2. Réponses: 0
    Dernier message: 11/08/2011, 11h18
  3. Wifi connecté mais pas de ping entre PC
    Par Steph.57 dans le forum Hardware
    Réponses: 1
    Dernier message: 18/08/2009, 12h56
  4. Internet fonctionne mais pas les ping
    Par will06 dans le forum Administration
    Réponses: 11
    Dernier message: 15/06/2007, 10h29
  5. wifi connecté mais pas de ping
    Par Alfred12 dans le forum Réseau
    Réponses: 6
    Dernier message: 16/05/2007, 15h57

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo