Requirements:
ARM64 Based SBC (Raspberry PI 4+, RadXa Rock 4C+) running Debian Bookworm. This can be run onto of an existing install however a fresh install (preferably minimial) is recommended
To Install:
As a user with sudo permissions run the below command.
New Version (Does not break LAN access when 192.168.22.0/24 is on LAN)
curl -fsSL https://raw.githubusercontent.com/TechNZ/3CX-SBC/refs/heads/main/setup.sh | sudo bash
Old Version (Breaks LAN access when 192.168.22.0/24 is on LAN)
curl -fsSL https://raw.githubusercontent.com/TechNZ/3CX-SBC/refs/heads/main/setup_old.sh | sudo bash
To configure:
open the web interface located at the systems IP, eg: http://192.168.0.11/ upload a wireguard config exported from your wireguard server enter the provisioning URL and provisioning key from your 3CX admin interface
Note:
Once configured, the device will be unreachable from 192.168.22.0/24 from the LAN interface and the VPN IP should be used for management. Other subnets provided by DHCP should work.