From 465fe5eea5630c2a01c7285929f78489a4e7d973 Mon Sep 17 00:00:00 2001
From: Dante Catalfamo
Date: Fri, 29 Dec 2023 21:04:25 -0500
Subject: openbsd-wireguard-gateway: begin diagram

---
 .../openbsd-wireguard-vpn-gateway/tex/diagram.tex  | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 content/posts/openbsd-wireguard-vpn-gateway/tex/diagram.tex

(limited to 'content/posts/openbsd-wireguard-vpn-gateway/tex/diagram.tex')

diff --git a/content/posts/openbsd-wireguard-vpn-gateway/tex/diagram.tex b/content/posts/openbsd-wireguard-vpn-gateway/tex/diagram.tex
new file mode 100644
index 0000000..6271044
--- /dev/null
+++ b/content/posts/openbsd-wireguard-vpn-gateway/tex/diagram.tex
@@ -0,0 +1,23 @@
+\documentclass{standalone}
+\usepackage{tikz}
+\begin{document}
+\begin{tikzpicture}
+  % \node (server) at (0,0) {server};
+  \node (wg0)      at (0,0) {wg0};
+  \node (vio0)     at (0, 1) {vio0};
+  \node (pf)       at (2, 1) {pf};
+  \node (client)   at (-2, 1) {client};
+  \node (internet) at (3, 3) {internet};
+  \node (program)  at (4, 0) {program};
+  \draw[->,blue] (client) -- (vio0);
+  \draw[->] (vio0) -- (pf);
+  \draw[->,orange] (pf) -- (wg0);
+  \draw[->,orange] (wg0) -- (vio0);
+  \draw[->,blue] (vio0) -- (internet);
+  \draw[->,orange] (program) -- (wg0);
+\end{tikzpicture}
+\end{document}
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
-- 
cgit v1.2.3

