Firewall and IPv6 #887
-
Hi, I try to add IPv6 addresses to the extra firewall rules, but I get errors I do not understand.
Error:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The problem is that Info: "the start of the cidr block" is always the network ID (first IP within the network). In this case
Hetzner provides a full /64 network to each VM. That means a single VM can have up to 2^64 (64 bits left from 128) = more than 18 quintillion IPv6 addresses. I would suggest 2 options:
Both networks are limited to the single VM, but only the last one allows you to use other IPs on the host, applying the same firewall rule. |
Beta Was this translation helpful? Give feedback.
The problem is that
2a01:4f8:1c1c:abcd::1/64
is not a network, so basically what the error message says. You tried to add a single IP while using a /64 network range. Now it would not be clear whether only2a01:04f8:1c1c:abcd:0000:0000:0000:0001
or the complete /64 network2a01:04f8:1c1c:abcd:0000:0000:0000:0000
-2a01:04f8:1c1c:abcd:ffff:ffff:ffff:ffff
should be used. For this reason, you must add a network ("CIDR block") and not an IP with the subnetmask of your network.Info: "the start of the cidr block" is always the network ID (first IP within the network). In this case
2a01:4f8:1c1c:abcd::/64
2a01:4f8:1c1c:abcd::1/64
2a01:04f8:1c1c:a…