Hetzner Cloud Firewalls allow you to easily secure your servers by specifying the network traffic that's allowed to reach your server and what traffic your server is allowed to send out.
Yes, our Cloud Firewalls are stateful and track individual network connections and their states to and from your server. If your server sends out a request to the internet, the response traffic to that request is automatically allowed through the firewall, and you don't need a separate inbound rule. For protocols like SIP, the firewall will also track "related" connections.
The Cloud Firewalls allow you the define a set of rules for incoming and outgoing network traffic of your Cloud server. For the inbound direction (network traffic to your server): Your rules define all traffic that is allowed to reach the server. The inbound direction has an implicit "deny" at the end. All traffic that doesn't match any of your rules will be dropped and will not reach your server. If you don't define any rules here, all inbound traffic will be dropped.
For the outbound direction (network traffic from your server to the internet): If you define no rules for the outbound direction, all traffic is allowed. If you define one or more outbound rules, the outbound direction also changes to implicit "deny", and all traffic that doesn't match your rules is dropped.
- Assign up to 5 active firewalls per server
- Create up to 50 firewalls total across your projects
- Have up to 500 (effective) rules per firewall
- Have to 80000 active, concurrent connections per server (10000 new connections per second)
Yes, our firewall will always allow traffic from certain Hetzner services to reach your server. This currently includes DNS resolver traffic, traffic from the Hetzner Rescue system, and the Cloud metadata server.
The number of your firewall's effective rules depends on how many different sources or destinations you have specified for each rule. An inbound rule that allows traffic to port 80 for 8 different sources counts as 8 effective rules.
No, you only define what traffic is allowed to and from your server. All other traffic will be dropped.
No, the order of your firewall rules does not matter, since our firewalls define what traffic is allowed.
You can filter TCP, UDP and ICMP traffic. All other protocols (like GRE or IPIP) will be dropped if you attach a firewall.
Not yet, but we plan to offer this functionality in the future.
Not yet, because we consider the private Networks to be "secure". We might later add the ability to secure private Cloud Networks.
Yes, we plan to extend Hetzner Cloud Firewalls with more features and options in the future.