gist.githate.ru

Explore

  • All gists
  • Topics
  • Users
Telegram Git collection
Give feedback on the new UI Powered by Opengist ⋅ 11ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
i

ipv6

Recently created Least recently created Recently updated Least recently updated
LittleGreenCat

LittleGreenCat / Permanently disable IPv6 in linux system

Last active 2 months ago ipv6

Перманентно отключить IPv6 в linux системе

0 0 1

vi /etc/sysctl.d/10-ipv6off.conf и добавить в файл:

# Disabling the IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Но можно и через grub: vi /etc/default/grub