Centos Disable IPV6 Permanently

disable ipv6
nano /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
sysctl -p
nano /etc/ssh/sshd_config
AddressFamily inet
systemctl restart sshd

NOTE: This will create alot of problem if you are using Clickhouse and oter softwares that use IPV6 by default. in which case you have to configure extra settings

Dated : 2020-10-13 18:51:34

Category : Server handling

Tags : Server handling Centos

Leave Your Comment

Related Posts