How to Configure the LifeinCloud Firewall Rules

Follow this step-by-step guide to configure firewall rules and port forwarding on the LifeinCloud platform, ensuring secure and controlled access to your virtual machines.
Try the NVMe cloud.

Start your 7-day free trial with no commitment. Explore freely and continue if it’s right for you.

In order to configure firewall rules in our platform you can follow these steps. They include examples if you’re looking for a more visual experience.

Note: This tutorial does not cover how to create a Virtual Machine (VM).

Finding the Virtual Machine

Note: Ensure that the logged-in account has the necessary permissions to perform these actions.

1) Look for your instances in the left-side menu.
firewall-1

2) Locate the Virtual Machine you wish to modify and click on it. In this example, we use a machine named vm-f-95uiavvd. Take note of the Public IP Address; in this case, it is 154.46.30.107.

firewall-2

Configuring the VM

1) Inside the next section, click on VM Settings.firewall-3

2) Under the VM Settings section, find the Firewall option in the menu.firewall-4

3) Click on Firewall.firewall-5

4) Click on + Add A Firewall Rule.firewall-6

Adding a Firewall Rule

In the Add Firewall Rule section, enter the following details:

  • Source CIDR: Define the specific IP ranges allowed access.
  • Protocol: Select the desired protocol (e.g., TCP in this example).
  • Start Port: Specify the initial port if opening a range of ports.
  • End Port: Specify the last port if opening a range. If allowing only one port, set the Start and End ports to the same value.

Click Add Firewall Rule.
firewall-7

Once the rule is added, the resulting configuration will appear on the next screen. firewall-8

Configuring Port Forwarding

  1. Click on the Port Forwarding section.
  2. Click on + Add Rule, then enter the following details:
    • Private Port: The port range referencing the VM.
    • Public Port: The port range referencing the public IP.
    • Protocol: Select TCP (used in this example for a Web Server test).
  3. In the dropdown menu, select the host to assign this rule to.
  4. Click Save.

Note: The private ports and the public ports are mapped to match each other but other ports can be used if required
firewall-9

Note: The private and public ports are typically mapped to match each other, but different ports can be used if required.

Testing the Configuration

To verify that the setup works as intended, open a browser and access the public IP. If configured correctly, you should be able to reach the Web Server. firewall-10

Picture of Vicente Muñoz

Vicente Muñoz

Vicente has a background in History, through formal education, and IT with 15 years of experience including 8 years focusing on cybersecurity. He has also worked as an author of books in the subjects of cybersecurity, programming, fantasy, and science fiction. Moreover, he managed and created an e-zine titled "El Futuro del Ayer, Hoy" (The Future of Yesterday, Today), with the core objective of giving new writers a voice.

Useful insights?

Help others discover this article by sharing it.