Skip to content
+1 (813) 212-3723 support@layeronecloud.com

Connect a workload end to end

Put an app, database or VM on the network, get egress through NAT, and expose it inbound.

1 min read

This ties the pieces together: how a workload on the private network reaches the internet, and how the internet reaches it, all through the firewall.

The shape

A workload, a LayerOne application, a managed database, or one of your own servers, sits on the same private network as the firewall. The firewall is that network's gateway. From there:

  1. Addressing. If you run DHCP on the network, the workload gets its address, gateway and DNS from the firewall. Otherwise give it a static address on the network and set the firewall's address as its gateway.
  2. Outbound. With NAT masquerade on (the default), the workload reaches the internet through the firewall, with no public address of its own.
  3. Inbound. Reach it from the internet in one of two ways: - a port forward for a raw TCP or UDP port, or - a load-balancer route for a domain with HTTPS.
  4. Rules. Inbound is blocked by default, so add the matching Allow rule for whatever you expose.

Nothing behind the firewall holds a public address. Only the firewall does.

Putting an application behind the firewall

A LayerOne application that is running privately shows its private address on its page, with a prompt to put it behind a Cloud Firewall to reach it from the internet. To do that:

  1. Attach the application to a private network the firewall also serves.
  2. On the firewall's load balancer tab, add a route for your domain.
  3. Add a backend and pick the application from the Application list; the firewall tracks its private address for you.

You drive this from the firewall's load-balancer tab, not from the application page.

Still stuck

Ask AI or open a ticket.

Ask AI in the portal answers from these docs. For anything it cannot settle, open a ticket and an engineer replies by email.