Skip to content

Moonlight air-gap bridge

Choose a tag to compare

@jackspence7 jackspence7 released this 15 Nov 06:45
· 3 commits to main since this release

Stream Moonlight from a Sunshine host on your home LAN to an air-gapped Nintendo Switch.

The Raspberry Pi creates an isolated Wi-Fi AP for the Switch, spoofs Nintendo's connectivity check (no captive-portal popup), and routes Switch→LAN through a default-deny nftables firewall (FORWARD policy drop) so the Switch can reach only the Sunshine PC — never the internet.

  • Use a 5 GHz Pi (4 / 5 / 400) for smooth streaming. Pi 3 B+ / Zero 2 W are 2.4 GHz only and bandwidth-limited.
  • Tested on a Pi 3 B+ (2.4 GHz): connectivity spoof, air-gap, and Moonlight add-by-IP pairing all verified.
  • Flash Raspberry Pi OS Lite Bookworm (the "Legacy" track) and run sudo ./setup.sh, or drop firstrun.sh on the boot partition for a fully automatic first boot.
  • Full details: moonlight-bridge/README.md.

SHA-256: 6e129f80ba2487268fea81411325ed439332d78ae47ed5d99a8062946edd2ba9