From e42caf33889c44b1aa8617a6670d1767765474fd Mon Sep 17 00:00:00 2001
From: uvok cheetah
Date: Fri, 2 Aug 2024 18:47:46 +0200
Subject: wireguard: Use HTML markup
less hassle
---
_posts/2023-07-02-shoot-foot-wireguard.md | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
(limited to '_posts/2023-07-02-shoot-foot-wireguard.md')
diff --git a/_posts/2023-07-02-shoot-foot-wireguard.md b/_posts/2023-07-02-shoot-foot-wireguard.md
index 0a8f64b..8968624 100644
--- a/_posts/2023-07-02-shoot-foot-wireguard.md
+++ b/_posts/2023-07-02-shoot-foot-wireguard.md
@@ -16,7 +16,9 @@ to update again? Now that I think about it, I can't remember I actually I ever
tested the connection. I tested the connection once when my OpenWRT router was still
running in a VM. Maybe I forgot to set up some things?
-[![A diagram showing the network components of my Wireguard setup.](https://pics.uvokchee.de/i.php?/upload/2023/07/02/20230702201107-0ecdfc52-sm.png)](https://pics.uvokchee.de/upload/2023/07/02/20230702201107-0ecdfc52.png)
+
But hey, no worries, I'll simply connect to my VPS, and let the Wireguard
routing do its job. Just move the `AllowedIP=0.0.0.0/24`
@@ -32,7 +34,9 @@ to try to figure out what went wrong.
Well, lets see, what are the AllowedIPs...
-[![Same diagram as before. Added: AllowedIPs.](https://pics.uvokchee.de/i.php?/upload/2023/07/02/20230702201107-5df12e17-sm.png)](https://pics.uvokchee.de/upload/2023/07/02/20230702201107-5df12e17.png)
+
Hm. Seems good enough.
The smartphone pings to the VPS get answered all right. The AllowedIPs match there.
@@ -51,7 +55,9 @@ ping from Smartphone to OpenWRT... Still stuck. The heck?
Okay, let's see the configs again. Very carefully.
-[![Same diagram. Added on OpenWRT, AllowedIP setting for Smartphone.](https://pics.uvokchee.de/i.php?/upload/2023/07/02/20230702201107-597a7b3d-sm.png)](https://pics.uvokchee.de/upload/2023/07/02/20230702201107-597a7b3d.png)
+
Well, oops. I still had the smartphone set up as a possible client on OpenWRT.
Apparently, the ping from my smartphone went through my VPS to OpenWRT just fine
@@ -69,7 +75,9 @@ on Wireguard for Android. Let everything Wireguard-internal
route via OpenWRT.
(Reminder: longest prefix wins. `/24` is longer than `/0`).
-[![Same diagram, fixed AllowedIPs on smartphone.](https://pics.uvokchee.de/i.php?/upload/2023/07/02/20230702203947-9169ae4a-sm.png)](https://pics.uvokchee.de/upload/2023/07/02/20230702203947-9169ae4a.png)
+
Et voilá! ping still works.
--
cgit v1.2.3