[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: disable IPv6 debian




On 15/4/22 9:59 pm, Erwan David wrote:

No. But it won't be kept if you reboot
To make it permanent you need to create the file
/etc/sysctl.d/10-disable_ipv6.conf with the 2 lines

net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=0



However make sure no other file in /etc/sysctl.d is enabling ipv6. It would then come down to which script was executed last

e.g. if there was a 20-enable_ipv6.conf or similar.

--
Jeremy

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: