Posts Tagged ‘networking’
-
Disabling IPv6 in Debian
I’ve seen different suggestions, so I decided to include all of them.
Edit: /etc/modprobe.d/aliases
By default you will have a line like this:
alias net-pf-10 ipv6
Replace that line with:
alias net-pf-10 off
alias ipv6 off
Also, while we’re at it, on your desktop machines, help out Firefox by disabling IPv6 there too. It’s simple, in the location bar enter:
about:config
Then search for:
network.dns.disableIPv6
I also disabled these lines in /etc/hosts to avoid confusions:
## The following lines are desirable for IPv6 capable hosts
#::1 localhost ip6-localhost ip6-loopback
#fe00::0 ip6-localnet
#ff00::0 ip6-mcastprefix
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters
#ff02::3 ip6-allhosts
Finally, “open file /etc/sysctl.d/bindv6only.conf and set net.ipv6.bindv6only=0, then restart the procfs with invoke-rc.d procps restart”
Sources:
-
Controlling the speed of your localhost network
Use iprelay, for example, say you want to only allow 10K/s on your localhost network, then you’d type
iprelay -b10000 8000:localhost:80
About me
I live in Denver, Colorado and work as a contractor for HAIKU Learning Systems, Inc., an online learning company. I did my Master's in Music Informatics at Indiana University and got a B.A. in Computer Science and Mathematics, with a minor in Music from Carroll College in Helena, Montana.