Disable ipv6 on Ubuntu
Настойку можно найти в файле /etc/sysctl.conf:
# For specific interface, add this to the end of file
net.ipv6.conf.eth0.disable_ipv6 = 1
# All iterfaces
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1
Затем нужно применить настройки командой:
# sysctl -p