Hi,
I just realized that my proxmox hosts got assigned an IPv6 address from the internet provider box, since I changed one week ago from 'vlan aware' open-vswitch to the 'vlan unware' and default setting of vmbridge (which now supports large MTU, so I could get ride of open-vswitch).
I have thus configured a vmbr1 interface for the LAN connecting to the Internet box without any IPv4 nor IPv6 configured from proxmox GUI, two VMs instead are expect to filter the internet access having one of their interface connected to this vmbr1 LAN. The vmbridge configuration from proxmox point of view has empty IPv4/IPv6 fields, and as there is no way to set different modes (autoconf / DHCPv6 / or manual), I wrongly assumed IPv6 was behaving the same as IPv4 and had to be configured manually...
But that was wrong! The vmbr1 interface has a local-link address *and* a obtained a public IPv6 "2a01:...". Proxmox hypervisor is thus reachable from anywhere on Internet through IPv6 and is not protected by any of the two VMs that were here for that 8'-|
This may be seen as vulnerability and I suggest disabling the IPv6 autoconf and IPv6 router-advertisement by default in proxmox to mimic the IPv4 behavior. Else add a dropbox beside IPv6 fields when configuring an interfaces in proxmox GUI (auto/DHCPv6/manual) to clarify the default behavior to the administrator.
I guess something like this in the default proxmox distribution would do the trick (to be tested):
sysctl -w net.ipv6.conf.default.autoconf=0
sysctl -w net.ipv6.conf.default.accept_ra=0
my 2 cents
Edrusb
I just realized that my proxmox hosts got assigned an IPv6 address from the internet provider box, since I changed one week ago from 'vlan aware' open-vswitch to the 'vlan unware' and default setting of vmbridge (which now supports large MTU, so I could get ride of open-vswitch).
I have thus configured a vmbr1 interface for the LAN connecting to the Internet box without any IPv4 nor IPv6 configured from proxmox GUI, two VMs instead are expect to filter the internet access having one of their interface connected to this vmbr1 LAN. The vmbridge configuration from proxmox point of view has empty IPv4/IPv6 fields, and as there is no way to set different modes (autoconf / DHCPv6 / or manual), I wrongly assumed IPv6 was behaving the same as IPv4 and had to be configured manually...
But that was wrong! The vmbr1 interface has a local-link address *and* a obtained a public IPv6 "2a01:...". Proxmox hypervisor is thus reachable from anywhere on Internet through IPv6 and is not protected by any of the two VMs that were here for that 8'-|
This may be seen as vulnerability and I suggest disabling the IPv6 autoconf and IPv6 router-advertisement by default in proxmox to mimic the IPv4 behavior. Else add a dropbox beside IPv6 fields when configuring an interfaces in proxmox GUI (auto/DHCPv6/manual) to clarify the default behavior to the administrator.
I guess something like this in the default proxmox distribution would do the trick (to be tested):
sysctl -w net.ipv6.conf.default.autoconf=0
sysctl -w net.ipv6.conf.default.accept_ra=0
my 2 cents
Edrusb