NetworkingOngoing
ZFORGE: Zero Trust Network Access for SMEs
A self-hosted Zero Trust Network Access system for small and medium businesses. It replaces MAC address binding with device-bound mTLS identities and turns OpenZiti's policy model into a point-and-click dashboard.
- Role
- Final year project, individual
- Stack
- OpenZiti, mTLS, Next.js, Laravel, AWS EC2, Docker
- Website
- zforge.my ↗until Jan 2027

The problem
Many small businesses still control network access with MAC address binding. Modern Windows, iOS and Android randomise MAC addresses, which breaks the binding, and a MAC address is easy to spoof. The usual fallback is a VPN, but a VPN gives a signed-in device broad access to the internal network, so one stolen laptop can reach every server.
Zero Trust platforms fix this, but they are built for enterprise teams. Small businesses often have one or two IT people covering everything, and DNS changes, layered policy engines and command-line identity management are a lot to ask of them.
ZFORGE is my final year project: a management system that puts an open-source Zero Trust overlay behind a dashboard a small IT team can actually run.
How it works
ZFORGE is built on OpenZiti, an open-source Zero Trust overlay network, and splits the system into three zones.
- Zone 1, the administrator's browser. A Next.js dashboard. Nothing to install beyond a browser.
- Zone 2, the cloud control plane on AWS EC2. The OpenZiti controller issues identities and enforces policy. A Laravel API proxy sits in front of it and turns each dashboard action into the right controller calls, so the admin never touches the command line.
- Zone 3, the office. An office connector runs next to the business apps and only makes outgoing connections to the controller. The office servers keep zero open inbound ports, so a port scan finds nothing to attack.
Every device gets its own cryptographic identity, and every connection is mutual TLS. A device reaches only the apps its access rule allows, at the application layer, so there is no network to move around in after sign-in.
What I built
Eight modules, each a page in the dashboard:
- Identity and endpoint management: invite people, set up their devices, suspend or remove them.
- Resource provisioning: register office apps so staff can reach them through ZFORGE.
- Access policy engine: rules that bind people or groups to apps.
- Device posture checks: minimum OS versions and other checks before access is granted.
- Geo-fencing: allow or block sign-ins and connections by country.
- Live sessions: see who is connected to what, and end a session on the spot.
- Service cloaking monitor: scheduled scans that confirm the office apps stay dark.
- Audit and threat logging: a tamper-evident, hash-chained audit log, grouped security incidents and alerts.
The admin side has passkey sign-in, two-factor authentication and push notifications for security events.
What I learned
- OpenZiti 2.0 moved devices to token-based sign-in, which changed where live sessions come from. I rebuilt the session view on the fabric's live circuits, and ending a session now revokes the device's tokens as well.
- Hiding a service is easy to claim and harder to prove. The office lab runs every app on private Docker networks that only the connector can reach. Even SSH runs through ZFORGE, so the server shows no open ports at all.
Status
All modules are built and running on AWS EC2, with a test office of five business apps (HR, finance, CRM, wiki and IT helpdesk) behind it. Functional, cloaking and access control testing runs until January 2027, followed by the final report and presentation.
More images

