# Wireguard, où chercher?

**URL:** <https://www.debian-fr.org/t/wireguard-ou-chercher/92138>\
**Category:** Support Debian\
**Created:** [Mars 16, 2026, 8:48 UTC](https://www.debian-fr.org/t/wireguard-ou-chercher/92138 "2026-03-16T20:48:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chfo](https://www.debian-fr.org/user_avatar/www.debian-fr.org/chfo/32/15349_2.png) [@chfo](https://www.debian-fr.org/u/chfo)\
**Post date:** [Mars 16, 2026, 8:48 UTC](https://www.debian-fr.org/t/wireguard-ou-chercher/92138/1 "2026-03-16T20:48:34Z")

</div>

Bonjour à toutes et à tous,

J’ai deux PC portables avec Debian 13 et wireguard qui se connectent à un serveur PiVPN.  
Un se connecte et fonctionne très bien, l’autre se connecte au VPN mais la connection au réseau n’est pas bonne et je ne sais pas ou chercher.

Voici l’état du réseau après connexion au VPN:

```auto
$ systemctl start wg-quick@wg0-client.service

$ ip rule
0: from all lookup local
32764: from all lookup main suppress_prefixlength 0
32765: not from all fwmark 0xca6c lookup 51820
32766: from all lookup main
32767: from all lookup default

$ ip route
default via 192.168.0.1 dev wlp0s20f3 proto dhcp src 192.168.0.5 metric 600  
10.167.17.0/24 dev wg0-client proto kernel scope link src 10.167.17.8  
192.168.0.0/24 dev wlp0s20f3 proto kernel scope link src 192.168.0.5 metric 600  

$ route -n
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 600 0 0 wlp0s20f3
10.167.17.0 0.0.0.0 255.255.255.0 U 0 0 0 wg0-client
192.168.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp0s20f3

```

Exemple avec ces paramètres :

```auto
$ dig google.com
;; communications error to 10.167.17.1#53: timed out
;; communications error to 10.167.17.1#53: timed out
;; communications error to 10.167.17.1#53: timed out

; <<>> DiG 9.20.18-1~deb13u1-Debian <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54069
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;google.com. IN A

;; ANSWER SECTION:
google.com. 12620 IN A 172.217.208.139
google.com. 12620 IN A 172.217.208.100
google.com. 12620 IN A 172.217.208.138
google.com. 12620 IN A 172.217.208.101
google.com. 12620 IN A 172.217.208.102
google.com. 12620 IN A 172.217.208.113

;; Query time: 0 msec
;; SERVER: 192.168.0.2#53(192.168.0.2) (UDP)
;; WHEN: Mon Mar 16 21:40:05 CET 2026
;; MSG SIZE rcvd: 135

```

et un ping vers une adresse quelconque ne fonctionne pas.

De la ma question, où dois-je chercher ?

PS: Pour péciser, je souhaite que tout le traffic passe par le VPN lorsqu’il est actif.

---

<div class="post-metadata">

**Author:** ![dindoun](https://www.debian-fr.org/user_avatar/www.debian-fr.org/dindoun/32/4281_2.png) [@dindoun](https://www.debian-fr.org/u/dindoun)\
**Post date:** [Mars 16, 2026, 9:31 UTC](https://www.debian-fr.org/t/wireguard-ou-chercher/92138/2 "2026-03-16T21:31:03Z")

</div>

> [@chfo](#):
>
> et un ping vers une adresse quelconque ne fonctionne pas.

même avec l’adresse en direct genre ping 1.1.1.1 ?

---

<div class="post-metadata">

**Author:** ![chfo](https://www.debian-fr.org/user_avatar/www.debian-fr.org/chfo/32/15349_2.png) [@chfo](https://www.debian-fr.org/u/chfo)\
**Post date:** [Mars 16, 2026, 9:39 UTC](https://www.debian-fr.org/t/wireguard-ou-chercher/92138/3 "2026-03-16T21:39:41Z")

</div>

ping 1.1.1.1 ne fonctionne pas  
ping 192.168.0.2 fonctionne  
ping 10.167.17.1 ne fonctionne pas
