aboutsummaryrefslogtreecommitdiff
path: root/lume/src/notes
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-06-28 16:42:48 -0400
committerXe Iaso <me@xeiaso.net>2024-06-28 16:42:48 -0400
commitcad6118594b95aeb54a0ede9b390d81c7761d1bc (patch)
tree1a57d608d92d4b0c0a7d0580480c3fb78a433025 /lume/src/notes
parent05e58f05ca7774de6c86779241d723fec8b8f8df (diff)
downloadxesite-cad6118594b95aeb54a0ede9b390d81c7761d1bc.tar.xz
xesite-cad6118594b95aeb54a0ede9b390d81c7761d1bc.zip
small thing on wireguard on the deck
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'lume/src/notes')
-rw-r--r--lume/src/notes/2024/steam-deck-wireguard.mdx50
1 files changed, 50 insertions, 0 deletions
diff --git a/lume/src/notes/2024/steam-deck-wireguard.mdx b/lume/src/notes/2024/steam-deck-wireguard.mdx
new file mode 100644
index 0000000..6036739
--- /dev/null
+++ b/lume/src/notes/2024/steam-deck-wireguard.mdx
@@ -0,0 +1,50 @@
+---
+title: The Steam Deck ships with WireGuard
+date: 2024-06-28
+desc: One less install required!
+---
+
+While I was poking around SteamOS, I tried to run wg-quick and was surprised to see it was preinstalled. I've been wanting to get into my Deck from my MacBook over a stable IP for a fair bit, and this means I can just add it to my private [fly.io](https://fly.io) network.
+
+So I did that:
+
+```
+$ fly wg create personal yul mipha mipha.conf
+```
+
+And then I imported the config to my deck over normal SSH and activated it:
+
+```
+$ sudo cp mipha.conf /etc/wg-quick/fly0.conf
+
+$ sudo systemctl enable --now wg-quick@fly0.service
+```
+
+And then I can ping it as normal:
+
+```
+$ ping6 fdaa:0:641b:a7b:9285:0:a:2502 -c4
+PING6(56=40+8+8 bytes) [scrubbed] --> fdaa:0:641b:a7b:9285:0:a:2502
+16 bytes from fdaa:0:641b:a7b:9285:0:a:2502, icmp_seq=0 hlim=62 time=35.587 ms
+16 bytes from fdaa:0:641b:a7b:9285:0:a:2502, icmp_seq=1 hlim=62 time=22.683 ms
+16 bytes from fdaa:0:641b:a7b:9285:0:a:2502, icmp_seq=2 hlim=62 time=29.850 ms
+16 bytes from fdaa:0:641b:a7b:9285:0:a:2502, icmp_seq=3 hlim=62 time=95.205 ms
+
+--- fdaa:0:641b:a7b:9285:0:a:2502 ping6 statistics ---
+4 packets transmitted, 4 packets received, 0.0% packet loss
+round-trip min/avg/max/std-dev = 22.683/45.831/95.205/28.870 ms
+```
+
+Et voila! I'm in. Now it's easy to copy off the videos I got with Decky Recorder. Here's a few screenshots I've copied over:
+
+<Photo path="blog/2024/steam-deck-wireguard/20231212171009_1" />
+
+<Photo path="blog/2024/steam-deck-wireguard/20231212171009_1" />
+
+<Photo path="blog/2024/steam-deck-wireguard/20231212171107_1" />
+
+Hope this gives you ideas!
+
+---
+
+This was originally a post on [X's article feature](https://x.com/theprincessxena/status/1806786540137275709), but it has been copied here in case the original is deleted, that product is cancelled, or some other bad thing happens.