Learn how to add NAT Gateway firewall rules for ports and protocols in Vultr.
NAT Gateway firewall rules control which traffic is permitted or denied through the gateway. Rules can restrict traffic by IP protocol, port number, and source subnet to enforce least-privilege access policies. Each firewall rule requires a corresponding port forwarding rule for the same port to exist before creation.
Follow this guide to create a NAT Gateway subscription firewall rule using the Vultr Console, API, CLI, or Terraform.
Navigate to Products, expand the Network drop-down and select VPC Networks.
Select your target VPC Network with NAT Gateway connectivity.
Scroll to the NAT Firewall section.
Click Add Firewall Rule.
If no firewall rules exist, the Add Firewall Rule button appears in the center of the section. Once rules are created, the button moves to the top right corner with a + icon.
A panel opens with the following configuration options:
0.0.0.0 to allow all IPv4 addresses).0 with 0.0.0.0 to allow all addresses, or specify a value like 24 for restricted subnets).443, 228000:8002Click Save Changes.
0 Comments
Be the first to comment and share your perspective with the community.