···11+---
22+title: The Steam Deck ships with WireGuard
33+date: 2024-06-28
44+desc: One less install required!
55+---
66+77+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.
88+99+So I did that:
1010+1111+```
1212+$ fly wg create personal yul mipha mipha.conf
1313+```
1414+1515+And then I imported the config to my deck over normal SSH and activated it:
1616+1717+```
1818+$ sudo cp mipha.conf /etc/wg-quick/fly0.conf
1919+2020+$ sudo systemctl enable --now wg-quick@fly0.service
2121+```
2222+2323+And then I can ping it as normal:
2424+2525+```
2626+$ ping6 fdaa:0:641b:a7b:9285:0:a:2502 -c4
2727+PING6(56=40+8+8 bytes) [scrubbed] --> fdaa:0:641b:a7b:9285:0:a:2502
2828+16 bytes from fdaa:0:641b:a7b:9285:0:a:2502, icmp_seq=0 hlim=62 time=35.587 ms
2929+16 bytes from fdaa:0:641b:a7b:9285:0:a:2502, icmp_seq=1 hlim=62 time=22.683 ms
3030+16 bytes from fdaa:0:641b:a7b:9285:0:a:2502, icmp_seq=2 hlim=62 time=29.850 ms
3131+16 bytes from fdaa:0:641b:a7b:9285:0:a:2502, icmp_seq=3 hlim=62 time=95.205 ms
3232+3333+--- fdaa:0:641b:a7b:9285:0:a:2502 ping6 statistics ---
3434+4 packets transmitted, 4 packets received, 0.0% packet loss
3535+round-trip min/avg/max/std-dev = 22.683/45.831/95.205/28.870 ms
3636+```
3737+3838+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:
3939+4040+<Photo path="blog/2024/steam-deck-wireguard/20231212171009_1" />
4141+4242+<Photo path="blog/2024/steam-deck-wireguard/20231212171009_1" />
4343+4444+<Photo path="blog/2024/steam-deck-wireguard/20231212171107_1" />
4545+4646+Hope this gives you ideas!
4747+4848+---
4949+5050+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.