Skip to content

HE3ndrixx/P-BOX-OS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

P-BOX OS

Version Platform Base License

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.


πŸš€ Quick Install

One-Line Install (Linux/macOS)

curl -fsSL https://raw.githubusercontent.com/p-box2025/P-BOX-OS/main/install.sh | bash

Manual Download

Download 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

πŸ’Ώ One-Click Deploy

After downloading, use the smart deployment script:

# Linux/macOS
chmod +x deploy-vm.sh
./deploy-vm.sh

# Windows
# Double-click deploy-vm.bat

Supported Platforms

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

Default VM Settings

Setting Default
CPU Cores 4
Memory 2048 MB
Boot Mode BIOS (Legacy)

πŸ”‘ Default Credentials

Service Username Password
SSH root pbox123
Web Panel - pbox123

⚠️ Security Notice: Please change the default password after first login!


🌐 Access

After the VM boots:

  1. Get IP Address - The system automatically obtains an IP via DHCP
  2. SSH Login - ssh root@<device-ip> (password: pbox123)
  3. Terminal Menu - Type pbox to open the interactive management menu
  4. Web Panel - Open https://<device-ip> in your browser

πŸ“¦ Manual Installation

Write to Physical Disk

# Linux/macOS
gunzip -c pbox-os-amd64-*.img.gz | sudo dd of=/dev/sdX bs=4M status=progress

# Windows: Use balenaEtcher, Rufus, or Win32DiskImager

Proxmox VE (Manual)

# 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

VMware ESXi (Manual)

# 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

VirtualBox (Manual)

# 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

Hyper-V (Manual)

# 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"

Raspberry Pi / ARM Devices

  1. Download the appropriate .img.gz for your device
  2. Use Raspberry Pi Imager or balenaEtcher
  3. Write to SD card (16GB+ recommended)
  4. Insert SD card and power on
  5. Connect via Ethernet

✨ Features

  • 🌐 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

πŸ“ File Structure

/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

❓ Troubleshooting

Cannot access web panel

# Check services
systemctl status pbox
systemctl status nginx

# Restart services
systemctl restart pbox nginx

Network not working

# Check network
ip addr
ip route

# Restart networking
systemctl restart networking

Check logs

# View P-BOX logs
journalctl -u pbox -f

# View system logs
dmesg | tail -50

πŸ“œ License

This project is licensed under the MIT License.


πŸ”— Links


Made with ❀️ by P-BOX Team

About

P-BOX OS

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors