Banana BPI-R4 Setup Guide
Turn your Banana Pi BPI-R4 into a WiFi Router, Secure VPN, or both with SPR. This guide will show you how.
Install a Docker Host System
SPR can run on any host which supports Docker, however, it is best tested with Ubuntu
You can install Ubuntu 24.04 images from https://wiki.banana-pi.org/Banana_Pi_BPI-R4#Ubuntu_24.04
Preparing your own build
git clone -b gdrive-test https://github.com/frank-w/BPI-Router-Images
./buildimg.sh bpi-r4 noble
gunzip -c bpi-r4_sdmmc.img.gz | sudo dd bs=1M status=progress conv=notrunc,fsync of=/dev/sdX
First Boot
login
user: root password: bananapi
ssh root-login enabled (should be disabled after other users are created)
/etc/ssh/sshd_config (open e.g. with nano): add # before PermitRootLogin=yes and restart ssh daemon
systemctl restart ssh
VPN Only (Virtual SPR)
SPR can run as a VPN server only. See the full VPN Setup Guide.
When running in Virtual SPR mode it uses a virtual network, so the host system's firewall and network configuration is unaffected.
Quick VPN Setup
sudo bash -c "$(curl -fsSL https://raw.github.com/spr-networks/super/master/virtual_install.sh)"
VPN Port Forwarding
If there is a firewall port 51280/udp needs to be open for incoming traffic, and port forwarded to the device