P-BOX OS is a lightweight, pre-configured operating system image designed for network proxy and routing management. Built on Debian 12 (Bookworm), it provides an intuitive web-based control panel for managing proxy services including mihomo (Clash.Meta) and sing-box.
curl -fsSL https://raw.githubusercontent.com/p-box2025/P-BOX-OS/main/install.sh | bashDownload from Releases:
| Architecture | File | Platform |
|---|---|---|
| AMD64 (x86_64) | pbox-os-amd64-*.img.gz |
PC, Server, VM |
| ARM64 (aarch64) | pbox-os-arm64-*.img.gz |
RPi 4/5, R4S, R5S |
| ARMhf (armv7) | pbox-os-armhf-*.img.gz |
RPi 3, R2S |
After downloading, use the smart deployment script:
# Linux/macOS
chmod +x deploy-vm.sh
./deploy-vm.sh
# Windows
# Double-click deploy-vm.bat| Platform | Version | Disk Format |
|---|---|---|
| Proxmox VE | 6.x - 9.x | raw/qcow2 |
| VMware ESXi | 6.5 - 8.x | vmdk |
| VMware Workstation | 14 - 17 | vmdk |
| VirtualBox | 5.x - 7.2 | vdi |
| Hyper-V | 2016 - 2025 | vhdx |
| Setting | Default |
|---|---|
| CPU Cores | 4 |
| Memory | 2048 MB |
| Boot Mode | BIOS (Legacy) |
| Service | Username | Password |
|---|---|---|
| SSH | root |
pbox123 |
| Web Panel | - | pbox123 |
β οΈ Security Notice: Please change the default password after first login!
After the VM boots:
- Get IP Address - The system automatically obtains an IP via DHCP
- SSH Login -
ssh root@<device-ip>(password:pbox123) - Terminal Menu - Type
pboxto open the interactive management menu - Web Panel - Open
https://<device-ip>in your browser
# Linux/macOS
gunzip -c pbox-os-amd64-*.img.gz | sudo dd of=/dev/sdX bs=4M status=progress
# Windows: Use balenaEtcher, Rufus, or Win32DiskImager# Decompress
gunzip pbox-os-amd64-*.img.gz
# Create VM and import disk
qm create 100 --name pbox --memory 2048 --cores 4 --net0 virtio,bridge=vmbr0
qm importdisk 100 pbox-os-amd64-*.img local-lvm --format raw
qm set 100 --scsi0 local-lvm:vm-100-disk-0 --boot order=scsi0
qm start 100# Convert to VMDK
gunzip pbox-os-amd64-*.img.gz
qemu-img convert -f raw -O vmdk pbox-os-amd64-*.img pbox.vmdk
# Upload to ESXi datastore and create VM via web UI# Convert to VDI
gunzip pbox-os-amd64-*.img.gz
VBoxManage convertfromraw pbox-os-amd64-*.img pbox.vdi --format VDI
# Create VM in VirtualBox using the VDI file# Convert to VHDX (requires qemu-img)
qemu-img convert -f raw -O vhdx pbox-os-amd64-*.img pbox.vhdx
# Create VM
New-VM -Name "pbox" -MemoryStartupBytes 2GB -Generation 1 -VHDPath "pbox.vhdx"
Set-VMProcessor -VMName "pbox" -Count 4
Start-VM -Name "pbox"- Download the appropriate
.img.gzfor your device - Use Raspberry Pi Imager or balenaEtcher
- Write to SD card (16GB+ recommended)
- Insert SD card and power on
- Connect via Ethernet
- π Web Control Panel - Modern, responsive web UI
- π Multi-Core Support - mihomo (Clash.Meta) and sing-box
- π Subscription Management - Auto-update proxy subscriptions
- π Traffic Monitoring - Real-time connection statistics
- π GeoIP & Rules - Built-in GeoIP database and rule sets
- π Secure by Default - Pre-configured firewall and SSL
- β‘ BBR Enabled - TCP BBR congestion control
- π§ Easy Deployment - One-click deployment scripts
/opt/pbox/
βββ bin/ # Proxy core binaries
βββ configs/ # Configuration files
βββ data/ # Runtime data and logs
βββ geoip/ # GeoIP databases
βββ rulesets/ # Proxy rule sets
βββ web/ # Web panel files
# Check services
systemctl status pbox
systemctl status nginx
# Restart services
systemctl restart pbox nginx# Check network
ip addr
ip route
# Restart networking
systemctl restart networking# View P-BOX logs
journalctl -u pbox -f
# View system logs
dmesg | tail -50This project is licensed under the MIT License.
- GitHub: https://github.com/p-box2025/P-BOX-OS
- Releases: https://github.com/p-box2025/P-BOX-OS/releases
Made with β€οΈ by P-BOX Team