CentOS 7 - как отключить ipv6

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск

CentOS 7 - как отключить ipv6

# vi /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
# sysctl -p

После ребута - также будет отключен ipv6.

Индекс цитирования