Repository navigation
Moonlight air-gap bridge — FTP file access
Adds FTP file access to the Moonlight air-gap bridge, so you can manage the Switch's SD card from a PC on your home LAN without the Switch ever touching the internet.
What's new
setup-ftp-forward.sh— DNATs a single port from the Pi's LAN interface to the Switch's FTP server and installs a persistent systemd service (re-applied every boot).- README section "FTP to the Switch" — install sys-ftpd, open the port, connect.
Usage
# on the Pi, after running setup.sh:
sudo ./setup-ftp-forward.sh 192.168.4.24 5000Then connect from a PC to <Pi LAN IP>:5000.
Important: use ACTIVE mode
Only the FTP control port is forwarded, so passive mode (random data port + the Switch's unroutable 192.168.4.x address) will hang on directory listings. In FileZilla: Site Manager → Transfer Settings → Active.
Checksum
SHA-256: b097b62a9e2ed9336b06c14dbbd221a3ede417707ab39ba3e22ddbcf1b542855