<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6081&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / How to disable IPv6?]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6081</link>
		<description><![CDATA[The most recent posts in How to disable IPv6?.]]></description>
		<lastBuildDate>Mon, 02 Dec 2024 07:19:23 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: How to disable IPv6?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53205#p53205</link>
			<description><![CDATA[<p>Thank you <a href="https://dev1galaxy.org/profile.php?id=76" rel="nofollow">nixer</a> !</p><p>indeed <strong>/etc/sysctl.conf</strong> is easy and make the most sense (tested and worked btw <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> )</p>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Mon, 02 Dec 2024 07:19:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53205#p53205</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to disable IPv6?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53119#p53119</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>I created a init script /init.d/....</p><p>with</p><p>&#160; &#160; sysctl -w net.ipv6.conf.default.disable_ipv6=1<br />&#160; &#160; sysctl -w net.ipv6.conf.all.disable_ipv6=1</p></div></blockquote></div><p>I don&#039;t think that would do much, but I would simply add the two lines to the&#160; /etc/sysctl.conf&#160; file and then test it out.&#160; Be sure to run &quot;sysctl -p&quot; after saving the file. </p><p>If you wanted to run the lines of code at boot, you might want to try adding them to the&#160; /etc/rc.local&#160; file, but I think the /etc/sysctl.conf file would be better.</p>]]></description>
			<author><![CDATA[dummy@example.com (nixer)]]></author>
			<pubDate>Wed, 27 Nov 2024 18:25:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53119#p53119</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to disable IPv6?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53101#p53101</link>
			<description><![CDATA[<p>Thanks <a href="https://dev1galaxy.org/profile.php?id=76" rel="nofollow">nixer</a> &amp; <a href="https://dev1galaxy.org/profile.php?id=6892" rel="nofollow">SSCM</a></p><p>I created a init script <span class="bbc">/init.d/....</span></p><p>with</p><div class="quotebox"><blockquote><div><p>sysctl -w net.ipv6.conf.default.disable_ipv6=1<br />sysctl -w net.ipv6.conf.all.disable_ipv6=1</p></div></blockquote></div><p>inside.</p><p>now just remain to test if IPv6 is really disabled ! (any ideas ?)</p>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Wed, 27 Nov 2024 15:26:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53101#p53101</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to disable IPv6?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53092#p53092</link>
			<description><![CDATA[<p>try adding </p><div class="codebox"><pre><code>ipv6.disable=1</code></pre></div><p> to the commandline bootcode.</p><p>also i seem to recall needing to comment out all the ipv6 stuff in the /etc/hosts file</p><div class="codebox"><pre><code># commented out all the ipv6 stuff to quiet the /var/log/exim4 report logs
#::1		 localhost
#::1             ip6-localhost ip6-loopback
#fe00::0         ip6-localnet
#fe00::0         ip6-mcastprefix
#ff00::0	 ip6-mcastprefix
#fe02::1         ip6-allnodes
#fe02::1         ip6-allrouters
#ff02::1	 ip6-allnodes
#ff02::2	 ip6-allrouters
#ff02::3	 ip6-allhosts
#fe80::1%lo0	 localhost</code></pre></div><p>you might even check what NetworkManager reports</p><div class="codebox"><pre><code>sudo NetworkManager --print-config</code></pre></div><p>keep us posted on your progress.</p>]]></description>
			<author><![CDATA[dummy@example.com (stargate-sg1-cheyenne-mtn)]]></author>
			<pubDate>Wed, 27 Nov 2024 06:49:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53092#p53092</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to disable IPv6?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53089#p53089</link>
			<description><![CDATA[<p>This is what I use to enable ipv6 in /etc/sysctl.conf .&#160; This enables both ipv6 and ipv4 </p><div class="codebox"><pre><code>net.ipv6.bindv6only= 0</code></pre></div><p>This would disable ipv6:</p><div class="quotebox"><blockquote><div><p>net.ipv6.bindv6only=1</p></div></blockquote></div><p>Also,<br />I did a quick web search and this was a top reply.&#160; I forgot to save the link, sorry.</p><p>How to disable IPv6 with Sysctl?<br />Open the&#160; /etc/sysctl.conf&#160; file with the following command: <br />$ sudo nano /etc/sysctl.conf</p><p>Add the following lines to it: </p><div class="codebox"><pre><code>net.ipv6.conf.all.disable_ipv6 = 1 
net.ipv6.conf.default.disable_ipv6 = 1 </code></pre></div><p>Reload. sysctl.conf. with the following command: <br />sysctl -p</p><p>I think that one, or both, of these methods should work.</p>]]></description>
			<author><![CDATA[dummy@example.com (nixer)]]></author>
			<pubDate>Tue, 26 Nov 2024 21:32:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53089#p53089</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to disable IPv6?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53083#p53083</link>
			<description><![CDATA[<p>Hi,</p><p>I have a <a href="https://arm-files.devuan.org/RaspberryPi%20Latest%20Builds/rpi-4-devuan-daedalus-6.1.93-arm64-ext4-2024-11-26-0443.zip" rel="nofollow">devuan-daedalus-6.1.93 </a> running on a Raspberry.</p><p>I would like also to disable the ipv6 (system wide)</p><p>I&#039;ve seen many time this:</p><div class="codebox"><pre><code>nano /etc/sysctl.d/disableipv6.conf
#add line:
net.ipv6.conf.all.disable_ipv6=1</code></pre></div><p>But If I don&#039;t mistaken this is only for systemd 🤢 ?</p><p>In the OP link, is the method 2 <span class="bbc">nano /etc/modprobe.d/blacklist-ipv6.conf</span> ...</p><p>will work on sysv init ?</p><p>Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Tue, 26 Nov 2024 17:12:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53083#p53083</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to disable IPv6?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44918#p44918</link>
			<description><![CDATA[<div class="quotebox"><cite>Danielsan wrote:</cite><blockquote><div><p>it would be cool understand how to prevent ipv6 to be loaded.</p></div></blockquote></div><p>If you don&#039;t want ipv6 support, recompile your kernel without ipv6 support, obviously. <br />Otherwise, disable it as already explained.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Tue, 17 Oct 2023 14:39:20 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44918#p44918</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to disable IPv6?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44914#p44914</link>
			<description><![CDATA[<p>@GlennW that worked, thanks!</p><p>Although it says: &quot;ipv6 loaded but administratively disabled&quot; ; it would be cool understand how to prevent ipv6 to be loaded.<br />Anyway it was enough to let <span class="bbc">dropbear</span> able to listen in fact I was able to drop the bear into the other pc! 😁</p>]]></description>
			<author><![CDATA[dummy@example.com (Danielsan)]]></author>
			<pubDate>Tue, 17 Oct 2023 06:01:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44914#p44914</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to disable IPv6?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44887#p44887</link>
			<description><![CDATA[<p>Hi, I add a&#160; ipv6.disable=1 line to grub... the vpn I have only uses ipv4</p><div class="codebox"><pre><code># If you change this file, run &#039;update-grub&#039; afterwards to update
# /boot/grub/grub.cfg.
# GlennsPref 20230920 ipv6

GRUB_DEFAULT=0
GRUB_TIMEOUT=4
GRUB_DISTRIBUTOR=`lsb_release -i -s`
GRUB_CMDLINE_LINUX_DEFAULT=&quot;console=tty12 vga=794 modeset.nouveau=0 nokmsboot ipv6.disable=1&quot;

# discover other os&#039;s
GRUB_DISABLE_OS_PROBER=false

GRUB_GFXMODE=1920x1080

GRUB_INIT_TUNE=&quot;400 440 1&quot;
# resume=uuid errors... noresume &quot;we don&#039;t susspend&quot;
GRUB_CMDLINE_LINUX=&quot;noresume idle=nomwait&quot;

GRUB_THEME=/usr/share/desktop-base/grub-themes/desktop-grub-theme/theme.txt</code></pre></div><p>run update-grub as root, and reboot.</p><p>all the best</p>]]></description>
			<author><![CDATA[dummy@example.com (GlennW)]]></author>
			<pubDate>Sun, 15 Oct 2023 20:09:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44887#p44887</guid>
		</item>
		<item>
			<title><![CDATA[How to disable IPv6?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44886#p44886</link>
			<description><![CDATA[<p>Hi guys,</p><p>I have some issues with <span class="bbc">dropbear</span> and I believe is because ipv6 and therefore I want to disable it.<br />I didn&#039;t find specific documentation on the Debian wiki <a href="https://itslinuxfoss.com/disable-ipv6-debian-12/" rel="nofollow">but this arguable tutorial</a> I found didn&#039;t work either:</p><div class="codebox"><pre><code># Disabling the IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1</code></pre></div><p>updated initramfs and rebooted, but still ipv6.</p><p>Any suggestions? </p><p>Thanks! 🙏</p>]]></description>
			<author><![CDATA[dummy@example.com (Danielsan)]]></author>
			<pubDate>Sun, 15 Oct 2023 18:44:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44886#p44886</guid>
		</item>
	</channel>
</rss>
