Below is a concise yet detailed network‐and‐services design that builds on your existing Ubiquiti gear, segments traffic for Chemistry/Microbiology/Office/Guest, and uses proven open-source tools for AD, SSO, RDP and VPN.
1. Physical & Logical Topology
• UDM-Pro (router + Zone-Based Firewall)
• UniFi switches (VLAN trunk to APs)
• UniFi APs broadcasting 4 SSIDs
• TrueNAS (NAS + iSCSI for user/home drives)
• Linux VM host (Proxmox, ESXi, etc.)
2. VLAN & SSID Plan
| VLAN ID | Name | Subnet | Purpose | SSID |
|---|
| 10 | OFFICE | 10.10.10.0/24 | Wired + Wi-Fi PCs for Office users | Office-WiFi (VLAN 10) |
| 20 | CHEMISTRY | 10.10.20.0/24 | Lab PCs (some wired, some Wi-Fi) | Chemistry-WiFi (VLAN 20) |
| 30 | MICROBIOLOGY | 10.10.30.0/24 | Lab PCs (wired) | – |
| 40 | GUEST | 10.10.40.0/24 | Internet-only devices | Guest-WiFi (VLAN 40) |
| 50 | MANAGEMENT | 10.10.50.0/24 | UniFi Controller, monitoring, VPN servers, DC, SSO | – |
• Trunk all VLANs to switches and APs; map SSIDs to VLANs 10/20/40.
• Wired ports for Microbiology default to VLAN 30; ports for lab-WiFi APs tagged with 20.
3. Zone-Based Firewall Rules (UDM-Pro)
- Default “LAN” zone includes VLANs 10/20/30.
- “GUEST” zone = VLAN 40.
- Permit Office→Chem/Micro (RPC, SMB, RDP, DNS)
- Block Chem↔Micro except DNS, DHCP
- Guest→Internet only
- Management zone can talk to all for SSH, API, NTP, Syslog
4. Identity, SSO, RDP & VPN Stack
| Function | Tool | Deployment |
|---|
| AD domain | Samba 4 (AD DC) | VM on VLAN 50, integrates w/FreeIPA? |
| RADIUS | FreeRADIUS or IPA | 802.1X Wi-Fi auth, wired NAC |
| SSO | Keycloak | OIDC/SAML for internal apps |
| RDP Proxy | Apache Guacamole | HTML5 portal to jumpboxes + hosts |
| VPN | WireGuard (or OpenVPN) | Server in VLAN 50, firewall NAT, 2FA |
• Domain: corp.local
• Join Windows 10/11 workstations to Samba4 DC. Group‐Policy via RSAT.
• FreeRADIUS for 802.1X on SSIDs and wired NAC.
• Keycloak sits behind Nginx (Let's Encrypt TLS) for SSO to web UIs (NAS, monitoring).
• Guacamole uses LDAP (Samba4) to enumerate RDP hosts.
• WireGuard server issues per-user keys; restrict subnet ↔ VLAN access via firewall.
5. File & Print Services
• TrueNAS on VLAN 50: SMB shares for home & group data; snapshot + replication.
• Printer(s) on VLAN 10 with firewall rules to allow VLANs 10/20/30 SMB printing.
6. Monitoring & Backup
• UniFi Controller (UDM-Pro) + Deep Packet Inspection
• Prometheus + Grafana or Zabbix (VM in VLAN 50)
• Alerts via e-mail/Slack
• Backup:
– Samba4 DC snapshots + offsite rsync
– NAS replication to cloud or secondary site
7. Security & Simplification
• 802.1X + RADIUS on critical SSIDs (Office, Chemistry).
• Firewall rules enforce least-privilege.
• Centralized TLS cert management (ACME).
• All major services have web-GUIs; group policies drive Windows client settings.
8. Roll-out Phases
- Prep VLANs, SSIDs, firewall zones on UDM.
- Deploy VMs: Samba4, FreeRADIUS, Keycloak, WireGuard, Guacamole.
- Join pilot PCs to AD/DC, test GPO push.
- Configure RADIUS + 802.1X profiles; roll out Wi-Fi cert.
- Migrate file shares to TrueNAS; deploy printer ACLs.
- Configure monitoring, backups, documentation/training.
This design segregates labs/offices/guests, centralizes identity & SSO, and uses mature open-source tools—while your UniFi platform enforces security policies and gives you end-to-end visibility.