Proxmox LXC - IPv6 disable script

g777

New Member
Jun 13, 2024
15
8
3
Long story very short: I wanted disable IPv6 inside LXC containers and wrote this script based on information from links below:
https://github.com/geoai777/proxmox_ipv6/

Now here where I'm still fuzzy:
  • ip a | grep inet6 is empty but netstat -naptu | grep ::: still shows tcp6 0 0 :::3306 :::* LISTEN mariadbd.
    Answering my own question: It appears to be IPv4 mapped IPv6. (see link number 4 below). Can't say it's good or bad, but still.
  • one of links suggests LinkLocalAddressing = no, it seems to me, that having that option to yes should be better in many ways. Do we really need it that way?
I can update script based on further suggestions.

I was using this links:
 
Last edited: