Jump to content

Disable IPv6


dfgsdgdfgf

Recommended Posts

I guess this is hardware-independent, so I post here. Looking for ways to disable IPv6 I found 3 ways to achieve this on Linux, none of them really working for armbian debian build.
 

1. /etc/sysctl.conf:

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

this disables the network interfaces to use IPv6, not IPv6 itself. This method is also known to cause trouble e.g with X-Forwarding via SSH and Postfix server.
netstat still lists IPv6 entries

 

2.  /etc/default/grub (GRUB tells the kernel not to load IPv6)

This does not exist in armbian, I guess it is simply not using GRUB

 

3. /etc/modprobe.d/aliases

change

alias net-pf-10 ipv6

to

alias net-pf-10 off

 

Some people suggest to additionally add

alias ipv6 off

 

I'm not so sure what this is actually doing. It does probably set an alias so that some other instance that starts net-pf-10 does not start ipv6 but instead "off" which is not defined so nothing is started?!

However this file does not exist in armbian as well

 

So how can I disable IPv6 on armbian?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines