capabilities.work

Add a firewall rule to a VM

One step with NexGen Cloud. We can help you get access.

Get something done

Add a firewall rule to a VM

Use NexGen Cloud: its Infrahub virtual machine API lets you add a firewall rule to a VM in a single step (POST /core/virtual-machines/{vm_id}/sg-rules). capabilities.work can help you get signed up and connected.

  • How do I allow inbound traffic on a specific port to a VM?
  • Can I create a firewall rule for a VM by IP range?
Say it to your AI assistant
  • Add a {direction} {protocol} {ethertype} firewall rule to VM {vm_id} allowing {remote_ip_prefix}.
  • Create a firewall rule on VM {vm_id} for {direction} traffic on {protocol} from {remote_ip_prefix}, {ethertype} type.
For your developer

POST /core/virtual-machines/{vm_id}/sg-rules in Infrahub virtual machine API. Full spec on APIs.io.