The Simplest Way to Make IIS and Ubiquiti Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Running IIS and Ubiquiti together lets teams route local network traffic to Windows web servers. This setup connects edge routing rules with internal web apps for daily work. Network admins manage packets at the perimeter. Web admins run Windows apps inside the data center. When both sides align, users reach internal portals without timeouts or port conflicts. How traffic flows between IIS and Ubiquiti Ubiquiti hardware sits at the network edge and directs incoming requests. It checks firewa

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Running IIS and Ubiquiti together lets teams route local network traffic to Windows web servers. This setup connects edge routing rules with internal web apps for daily work.

Network admins manage packets at the perimeter. Web admins run Windows apps inside the data center. When both sides align, users reach internal portals without timeouts or port conflicts.

How traffic flows between IIS and Ubiquiti

Ubiquiti hardware sits at the network edge and directs incoming requests. It checks firewall rules, separates VLAN traffic, and forwards allowed packets to internal hosts. IIS runs on Windows Server and listens for web requests on specific ports.

When a user requests a page, the router checks the destination IP and port. If the rule allows it, the router sends the packet to the Windows host. IIS reads the host header and sends the request to the right app pool.

Identity checks can happen at both layers. The network layer can require a VPN session or a local subnet address. Once traffic arrives, the Windows web server checks user logins against Active Directory. Each app pool then runs under a dedicated Windows identity to read local files.

Common failure modes and network scoping

Many teams hit problems when they use broad firewall rules between VLANs. Opening all ports to a Windows subnet exposes server ports to every local device. If a guest device joins the network, it can probe the web server.

Shared service accounts cause another big issue on the Windows side. Teams often run every web app pool under one broad admin account. If one site has a bug, an attacker can read files from other sites.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Unlogged traffic makes it hard to find the root cause of dropped requests. When a page fails to load, teams waste hours guessing which side blocked it. Without clear logs on both the router and the server, nobody sees the drop.

You can fix these issues by scoping roles and network paths tightly. On the router, allow only web ports from specific source subnets to the server. Block direct requests to management ports from standard user VLANs.

On the Windows host, give each site a unique, low-privilege local identity. Grant that identity read rights only to the folder for its own web app. Turn on request logs on both systems and send them to a central store.

Keeping certificates and headers in sync

Encrypted traffic often breaks when edge routers and web servers disagree on TLS rules. If the router forwards raw encrypted traffic, the Windows host must hold the certificate. If a load balancer decrypts traffic first, it must pass client IP headers downstream.

Without those headers, the Windows server logs every request as coming from the router. Security teams then lose track of which user device made a specific web call. Configure your web server to read forwarded headers so logs show the true source. Keep certificate renewal dates tracked so expired keys do not drop user connections.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

Why do web requests time out across VLANs?

Timeouts usually happen when return traffic lacks a firewall rule or a valid route. Check that the Windows firewall allows requests from the remote subnet as well.

Should the router or the Windows server handle TLS certificates?

Keep TLS certificates on the Windows server when using simple port forwarding rules. This ensures traffic stays encrypted across your internal VLANs all the way to IIS.

How do we limit admin access to both systems?

Place management interfaces on a dedicated admin VLAN with strict firewall rules. Require multi-factor logins and give each engineer an individual account instead of shared keys.

The query runs. The emails stay hidden.