FreeBSD Jail Management API
Stop fighting with Bastille commands. Manage FreeBSD jails via REST API. Automate everything.
🤔 The Problem
Managing FreeBSD jails via Bastille is powerful, but tedious:
- ✗ Manual SSH commands for every config change
- ✗ Easy to mess up (wrong netmask, mount syntax, permissions)
- ✗ No way to automate jail provisioning
- ✗ Can't integrate with CI/CD pipelines
- ✗ No web dashboard for non-technical users
What We're Building
A modern REST API wrapper around Bastille that makes jail management effortless.
Create a jail in 30 seconds:
POST https://api.bsdmacao.org/jails
{
"name": "transmission",
"release": "15.0-RELEASE",
"ip": "192.168.6.25/24",
"template": "media-server",
"mounts": [
{
"host": "/tank/media",
"jail": "/mnt/media",
"mode": "rw"
}
],
"config": {
"allow_mlock": true
}
}
// API validates everything, creates jail,
// returns connection details
🎯 Smart Defaults
Automatically sets netmask to /24, validates IPs, fixes common mistakes
📦 Templates
Pre-configured jails for web servers, databases, media services
🔄 Automation
Integrate with Ansible, Terraform, CI/CD pipelines
📊 Monitoring
Real-time status, resource usage, health checks
🌐 Web Dashboard
Optional web UI for visual jail management
🔒 Secure
API key auth, RBAC, audit logs
Use Cases
🏢 Hosting Providers
Automate jail provisioning for customers. Create jails via API when customers sign up.
🔧 DevOps Teams
Deploy development, staging, production jails via Terraform/Ansible. No manual SSH.
🏠 Home Lab
Manage your media servers, databases, services through a clean web UI.
Join the Early Access Waitlist
Be the first to try the API when we launch. Get early bird pricing.
Pricing (Planned)
Community Edition
Up to 5 jails
Basic features
Community support
Professional
One-time license
Unlimited jails
All features
1 year updates
Enterprise
Unlimited servers
Priority support
Custom features
Lifetime updates
💰 Early bird discount: First 50 customers get 50% off Professional license
Questions?
When will this launch?
We're validating demand now. If we get 50+ signups, we'll build an MVP in 6 weeks.
Will it work with my existing Bastille setup?
Yes! The API wraps Bastille, doesn't replace it. Your existing jails stay untouched.
Can I self-host?
Absolutely. All editions are self-hosted. You control the infrastructure.
What about iocage?
We're focusing on Bastille first. iocage support may come later if there's demand.