[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: utilisation open.vpn chez OVH



Le 27/08/2017 à 19:44, Pascal Hambourg a écrit :
Ne tiens pas compte de ma réponse précédente, nos messages se sont croisés.

Le 27/08/2017 à 19:19, herve.thibaud@free.fr a écrit :

avant ou après la connexion
herve@herve-W54-55SU1-SUW:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.

nameserver 127.0.0.53

Et zut, c'est ce que je craignais, un résolveur local. Suivons donc le jeu de piste avec la commande aimablement indiquée dans le fichier :

systemd-resolve --status

avant et après l'établissement du VPN.
Avant
herve@herve-W54-55SU1-SUW:~$ systemd-resolve --status:
systemd-resolve: unrecognized option '--status:'
herve@herve-W54-55SU1-SUW:~$

Après
herve@herve-W54-55SU1-SUW:~$ systemd-resolve --status
Global
          DNSSEC NTA: 10.in-addr.arpa
                      16.172.in-addr.arpa
                      168.192.in-addr.arpa
                      17.172.in-addr.arpa
                      18.172.in-addr.arpa
                      19.172.in-addr.arpa
                      20.172.in-addr.arpa
                      21.172.in-addr.arpa
                      22.172.in-addr.arpa
                      23.172.in-addr.arpa
                      24.172.in-addr.arpa
                      25.172.in-addr.arpa
                      26.172.in-addr.arpa
                      27.172.in-addr.arpa
                      28.172.in-addr.arpa
                      29.172.in-addr.arpa
                      30.172.in-addr.arpa
                      31.172.in-addr.arpa
                      corp
                      d.f.ip6.arpa
                      home
                      internal
                      intranet
                      lan
                      local
                      private
                      test

Link 15 (tun0)
      Current Scopes: none
       LLMNR setting: yes
MulticastDNS setting: no
      DNSSEC setting: no
    DNSSEC supported: no

Link 3 (wlp2s0)
      Current Scopes: none
       LLMNR setting: yes
MulticastDNS setting: no
      DNSSEC setting: no
    DNSSEC supported: no

Link 2 (enp3s0f1)
      Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
       LLMNR setting: yes
MulticastDNS setting: no
      DNSSEC setting: no
    DNSSEC supported: no
         DNS Servers: 212.27.40.241
                      212.27.40.240




herve@herve-W54-55SU1-SUW:~$ host nic.fr
;; connection timed out; no servers could be reached

Donc pas de résolution DNS avec le VPN.

Common Name    Real Address    VPN Address    Bytes Sent Received

openvpn     88.174.36.83:58208    172.27.232.35    282.52KB 485.01KB
Connection Duration
2:46:41

donc l'adresse VPN est 172.27.232.35

C'est encore l'adresse locale de ton PC, aucun intérêt. On n'en est plus là de toute façon.



Reply to: