IPv6 - address get assigned to interface on which proxmox should not listen on

superuser

New Member
Oct 16, 2022
3
0
1
Hi

The server has two NICs. 1 is for the LAN, the other one is an untrusted WAN connection. On the WAN connection I don't want proxmox to listen, for security reasons. I have set up a bridge with that interface and left the IP configuration empty:

1665906820497.png

(the same on the "Network Device")

For IPv4 this works, neither the interface/Device nor the bridge get an IP. For IPv6 however, the bridge gets an IP:

code_language.shell:
ip a
5: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 3c:18:a0:77:f5:9a brd ff:ff:ff:ff:ff:ff
    inet6 2001:1e0:5af:2000:3e18:e1ff:af47:b51a/64 scope global dynamic mngtmpaddr
       valid_lft 2591968sec preferred_lft 604768sec
    inet6 fe80::3e18:e1ff:af47:b51a/64 scope link
       valid_lft forever preferred_lft forever

Why is this?
 

Attachments

  • 1665906422635.png
    1665906422635.png
    38.2 KB · Views: 8
Last edited:
Thank you! That only affects the web interface, doesn't it?

If I disable IPv6 in the OS, would that affect PVE (apart from the missing IPv6 functionality)?
 
If you don't need IPv6 simply add net.ipv6.conf.all.disable_ipv6 = 1 to "/etc/sysctl.conf". That will disable all IPv6 for the server. Works fine here for years.
 
Thanks! Seems to work here too..

Why is the autoionfiguration not disabled by default? With the IPv6 PVE is reachable from the internet..
 
Why is the autoionfiguration not disabled by default? With the IPv6 PVE is reachable from the internet..
That's been the default in the linux kernel for quite a long time (as far as I remember) - so we simply kept that.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!