Skip to content

Create a Firewall Rule

In this guide, you will learn how to create a firewall rule using the Nirvana dashboard.

  1. In the sidebar, navigate to Networking → VPCs, then select the VPC you want to add a firewall rule to. Open the Firewall Rules tab.
  1. Click Create Firewall Rule
  1. Fill in the form fields:
    • Name (required): A descriptive name for the rule (e.g., allow-ssh-from-office)
    • Protocol (required): The network protocol to match. Options: TCP, UDP.
    • Source Address (required): The source IP address or CIDR range that traffic is allowed from (e.g., 0.0.0.0/0 for all addresses, or 10.0.1.0/24 for a specific subnet). Must be in network-aligned CIDR form.
    • Destination Address (required): The destination IP address or CIDR range within the VPC (e.g., the VPC CIDR or a specific VM’s address). Must be in network-aligned CIDR form.
    • Destination Ports (required): One or more destination ports to allow traffic on (e.g., 22, 80, 443)
    • Tags (optional): Add metadata tags. Type a tag and press Enter to add it.
  1. Click Create to add the firewall rule