From cd5339a1197b966cbcc6f5cc1b44ed752d00bac1 Mon Sep 17 00:00:00 2001 From: Maria B de la Serna-Lopez <148390279+MariaBego56@users.noreply.github.com> Date: Sun, 9 Nov 2025 23:08:13 +0000 Subject: [PATCH] Add flowchart for home network setup in documentation Added a flowchart diagram to illustrate a simple home network setup for WireGuard VPN. --- how-to/wireguard-vpn/peer-to-site.md | 31 +++++++++++++++------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/how-to/wireguard-vpn/peer-to-site.md b/how-to/wireguard-vpn/peer-to-site.md index 431dfeb4..1379d318 100644 --- a/how-to/wireguard-vpn/peer-to-site.md +++ b/how-to/wireguard-vpn/peer-to-site.md @@ -10,20 +10,23 @@ Where to place the remote WireGuard endpoint in the network will vary a lot depe Here we will cover a simpler case more resembling what a home network could be like: -``` - public internet - - xxxxxx ppp0 ┌────────┐ - ┌────┐ xx xxxx ──┤ router │ - │ ├─ppp0 xxx xx └───┬────┘ - │ │ xx x │ home 10.10.10.0/24 - │ │ xxx xxx └───┬─────────┬─────────┐ - └────┘ xxxxx │ │ │ - ┌─┴─┐ ┌─┴─┐ ┌─┴─┐ - │ │ │ │ │ │ - │pi4│ │NAS│ │...│ - │ │ │ │ │ │ - └───┘ └───┘ └───┘ +```mermaid + +flowchart LR + subgraph home["home — 10.10.10.0/24"] + pi4["pi4"] + nas["NAS"] + Y["Y"] + dots["..."] + end + router["router"] --- pi4 & nas & Y & dots + host["host"] -- |ppp0| --> internet(("public internet")) + internet -- |ppp0| --> router + style router fill:#FFE0B2 + style host fill:#E1BEE7 + style internet fill:#C8E6C9 + style home fill:#FFF9C4 + ```