Open a port with a firewall rule

On Sunsword Cloud, every incoming connection is blocked, until a firewall rule allows it. Let us open port eighty for our web server.

Video, 1:01. Compute.

Steps

  1. Overview (0:00)
  2. Default rules (0:11)
  3. Laptop, outside the cloud (0:20)
  4. Allow TCP port 80 (0:28)
  5. Rule is live (0:41)
  6. Laptop, outside the cloud (0:45)
  7. Try it yourself (0:56)

Transcript

On Sunsword Cloud, every incoming connection is blocked until a firewall rule allows it. Let us open port 80 for our web server.

Under Networking, open Firewall. A new network only allows ping, and traffic between your own machines.

So from outside, the web server cannot be reached. The request just times out.

Create a firewall rule called allow-http. Choose TCP port 80, from any address. Then create it. Firewall rules are free.

The rule is enabled straight away.

Try again from outside. Within a few seconds, the page loads. Only the port you opened is reachable. Everything else stays closed.