{"id":7469,"date":"2021-02-26T09:50:55","date_gmt":"2021-02-26T14:50:55","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=7469"},"modified":"2021-02-27T03:10:19","modified_gmt":"2021-02-27T08:10:19","slug":"7469","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=7469","title":{"rendered":"Fedora &#8212; Disabling IPv6"},"content":{"rendered":"<p>Since it&#8217;s the third time I&#8217;ve had to do this so far this year, I&#8217;m going to write down how I disable IPv6 in Fedora. Add these lines to \/etc\/sysctl.conf<\/p>\n<pre>[lisa@server~]# grep ipv6 \/etc\/sysctl.conf\r\nnet.ipv6.conf.all.disable_ipv6=1\r\nnet.ipv6.conf.default.disable_ipv6=1\r\nnet.ipv6.conf.lo.disable_ipv6=1<\/pre>\n<p>Then load the sysctl settings (sysctl -p) or reboot.<\/p>\n<p>Without IPv6, if you do X-redirection, you may get an error indicating the redirection was refused. In journalctl, there&#8217;s an error &#8220;error: Failed to allocate internet-domain X11 display socket&#8221;. Evidently you&#8217;ve got to configure sshd to use IPv4 by setting &#8220;AddressFamily inet&#8221; in \/etc\/ssh\/sshd_config<\/p>\n<pre>[lisa@server~\/]# grep AddressFamily \/etc\/ssh\/sshd_config\r\nAddressFamily inet<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since it&#8217;s the third time I&#8217;ve had to do this so far this year, I&#8217;m going to write down how I disable IPv6 in Fedora. Add these lines to \/etc\/sysctl.conf [lisa@server~]# grep ipv6 \/etc\/sysctl.conf net.ipv6.conf.all.disable_ipv6=1 net.ipv6.conf.default.disable_ipv6=1 net.ipv6.conf.lo.disable_ipv6=1 Then load the sysctl settings (sysctl -p) or reboot. Without IPv6, if you do X-redirection, you may get &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[1293,47,1291,294,1292],"class_list":["post-7469","post","type-post","status-publish","format-standard","hentry","category-system-administration","tag-disable-ipv6","tag-fedora","tag-ipv6","tag-linux","tag-sysctl"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/7469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7469"}],"version-history":[{"count":7,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/7469\/revisions"}],"predecessor-version":[{"id":7493,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/7469\/revisions\/7493"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}