π§ Firewalls
Firewalls can limit the network access to or from your resources.
When applying a firewall with no in rule all inbound traffic will be dropped. The default for in is DROP.
When applying a firewall with no out rule all outbound traffic will be accepted. The default for out is ACCEPT.
Get all Firewalls
Returns all Firewall objects.
HetznerCloudClient hetznerCloudClient = new HetznerCloudClient("apiKey");
List<Firewall> list = await hetznerCloudClient.Firewall.Get();Get a Firewall
Gets a specific Firewall object.
HetznerCloudClient hetznerCloudClient = new HetznerCloudClient("apiKey");
Firewall firewall = await hetznerCloudClient.Firewall.Get(1012861);Create a Firewall
Creates a new Firewall.
Once created, you can start managing the rules in the 'Firewall Actions' section.
Update a Firewall
Updates the Firewall.
Delete a Firewall
Deletes a Firewall.
JSON
Last updated
Was this helpful?