Hi, please do not top-post.
On Fri, Apr 15, 2022 at 08:35:33PM +0800, wilson wrote: > Reco wrote: > > The most non-intrusive way of doing it (side effects considered) is: > > > > /sbin/sysctl -w net.ipv6.conf.default.disable_ipv6=1 > > /sbin/sysctl -w net.ipv6.conf.lo.disable_ipv6=0 > > after doing this, do I need to restart the OS? No, you do not need to reboot. Moreover, those sysctls are non-persistent, and that's intentional. If you need to persist those settings, you'll need to modify /etc/sysctl.conf or create a new file in /etc/sysctl.d. Please consider reading sysctl.conf(5) *before* you touch those. Reco