Create a Firewall Rule
In this guide, you will learn how to create a firewall rule using the Nirvana dashboard.
- In the sidebar, navigate to Networking → VPCs, then select the VPC you want to add a firewall rule to. Open the Firewall Rules tab.
- Click Create Firewall Rule
- 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/0for all addresses, or10.0.1.0/24for 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.
- Name (required): A descriptive name for the rule (e.g.,
- Click Create to add the firewall rule