Segmentra is a centralised, agentless, local firewall and microsegmentation management tool for Linux servers. It lets security and infrastructure teams define host firewall policies (allow/deny), and deploy them at scale to nftables, iptables, firewalld, and UFW, via SSH or Ansible Playbook. It extends enforcement to Kubernetes clusters, Docker Swarm nodes and Docker-published ports, and OT/IoT devices through gateway firewalls.
The platform enables:
- Inventory creation and auto-tagging
- Policy versioning
- Policy impact analysis
- Policy troubleshooting
- Policy canary testing
- Policy templates and auto-assignment
- Segregation of duties
- Approval tracking
- Audit trails
- Backup and restore of the whole configuration, into a fresh installation if needed
- Compliance monitoring
- Topology building
- OT/IoT protection through gateway firewalls, with device discovery
- Notifications to Slack and webhooks on approvals, deployments and expiry
- Default access rules for each policy
Future plans include more integration adapters (SOAR, vulnerability databases), Kubernetes workload discovery from the cluster, and a real email notification channel. See Testing status and future work.
To go further, see how it works, the features and the rest of the documentation.
See all the screenshots.
To install Segmentra, follow the instructions in the Installation Guide. Before upgrading an existing installation, read the Upgrade Notes.
./run.sh --start --development # Start dev (API + UI + DB)
./run.sh --stop --development # Stop dev
./run.sh --start --production # Start production (all Docker containers; the API runs migrations on start)
./run.sh --stop --production # Stop productionOn Windows use .\run.ps1 with the same options. For the first login, see Default Login.
We have created real labs that you can deploy locally, so you can test Segmentra's capabilities and UI on real firewalls and real traffic without any servers of your own: see the Test Labs. To simply look around the UI with sample records, load the Demo Data.
| Document | Description |
|---|---|
| How Segmentra Works | The whole flow and the user journey, from an empty installation to enforced rules |
| Features | Everything Segmentra can do, by area |
| Screenshots | The main pages of the application |
| Installation Guide | Dev and production setup, environment variables and other configuration |
| Upgrade Notes | What changes when you upgrade: migration warnings, rule changes on hosts, new defaults and environment variables |
| User Guide | Step-by-step usage for all features |
| Test Labs | One-command environments with real firewalls and traffic: base, IoT, Swarm and Kubernetes |
| Demo Data | A sample dataset to explore the UI without real servers |
| Architecture | Components, API endpoints, database schema, RBAC matrix |
| Coexistence and Persistence | Living alongside Docker, Kubernetes and fail2ban, and surviving reboots |
| Native Firewall Managers | Firewalld/UFW support, permanent ACLs, prerequisites, limitations, and verification |
| Backup and Restore | Configuration export/import (Admin page, API) and full database dumps |
| Security: Credentials, Secrets and Hardening | How credentials are encrypted, the encryption key, who can access them, and how to harden a production install |
| OT/IoT Guide | IoT microsegmentation with gateway model |
| Gateway Setup | Linux gateway firewall configuration |
| Kubernetes Guide | K8s NetworkPolicy management |
| Docker Swarm Guide | Swarm node profile and Docker-published ports |
| Policy as Code | YAML/JSON export and import, CLI and CI workflow |
| Compliance Reports | Evidence reports mapped to PCI DSS, ISO 27001, SOC 2 and HIPAA |
| Status and Limitations | Known limitations, what has been tested, what has not, and what is not implemented yet |
| Tests | Integration and unit tests, what they cover and how to run them |
| Ansible Playbook | Deployment playbook documentation |
| Original Specification | The original product specification (historical; the implementation differs in places) |
Segmentra is licensed under the Apache License 2.0. Copyright 2026 Belsis Meletis (see NOTICE). To report a vulnerability, see SECURITY.md.
Segmentra is provided "AS IS", without warranty of any kind, express or implied, including merchantability, fitness for a particular purpose, security, reliability and non-infringement.
The creator and contributors accept no liability, to the maximum extent permitted by law, for any damage, loss or claim of any kind arising from the use of, or inability to use, this software, whether in contract, tort or otherwise. This includes, without limitation:
- data loss or corruption;
- downtime, outages or loss of access to systems (including being locked out of hosts);
- security incidents, breaches or vulnerabilities, in Segmentra or in the systems it manages;
- misconfigured, missing or ineffective firewall rules, and traffic that is blocked or allowed by mistake;
- financial, business, legal or regulatory loss, including failed audits (compliance reports are supporting evidence, not an audit opinion or a certification).
Segmentra changes firewall rules on real hosts, clusters and gateways, and is a work in progress that has been tested mainly in lab environments (see Testing status). You use it entirely at your own risk and responsibility. Test it on non-critical systems first, keep out-of-band access, keep backups, and review every policy before deploying it.
Nothing in this README, the documentation or the user interface changes the terms of the LICENSE, sections 7 (Disclaimer of Warranty) and 8 (Limitation of Liability).


