Close Menu
    Facebook X (Twitter) Instagram
    • Download Cisco Packet Tracer
    Facebook X (Twitter) Instagram Pinterest Vimeo
    IT Beginner
    • Home
    • Server
    • WordPress
    IT Beginner
    Home»Tips – Tricks»How to disable IPv6 on Ubuntu and Linux Mint
    Tips – Tricks

    How to disable IPv6 on Ubuntu and Linux Mint

    17/07/2017Updated:19/07/2017No Comments1 Min Read

    We are running out of IPv4, and IPv4 doesn’t come with any security. IPv6 is coming but IPv6 isn’t ready yet. Somtimes, connections get delay or completely fail until IPv6 is disabled. Systems with IPv6 enabled will prefer IPv6 connections over IPv4. If a system is misconfigured and/or malfunctioning with IPv6, that system will cause connectivity problems. So how to disable IPv6 on ubuntu, linux mint?

    To check if IPv6 is enabled or disabled

    $ cat /proc/sys/net/ipv6/conf/all/disable_ipv6

    0 means it’s enabled and 1 is disabled.

    To disable IPv6

    $ su -
    # nano /etc/sysctl.conf

    and add these lines to sysctl.conf file

    #disable ipv6

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

    Save sysctl.conf file with new config, then reboot your system

    # reboot

    Check your system again

    $ cat /proc/sys/net/ipv6/conf/all/disable_ipv6

    Now you should see “1″ means IPv6 has been disabled on your system.

    IPv6
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleFedora xfce auto login
    Next Article How to upgrade ubuntu 12.04 / 13.04 and linux mint 14 / 15 to linux kernel 3.11

    Related Posts

    Tips – Tricks

    How to fix nginx an upstream response is buffered to a temporary file error

    05/08/2017
    Tips – Tricks

    Optimize WordPress with Nginx

    04/08/2017
    Security

    How to secure Apache HTTP Web Server

    29/07/2017
    Subscribe
    Notify of
    guest

    guest

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    0 Comments
    Oldest
    Newest Most Voted
    Inline Feedbacks
    View all comments
    Tags
    apache centos Centos 6 cuda Desktop Environment dual boot environment featured gnome GUI hostname hosts intel kernel kill lamp server lemp server life MariaDB netflix nginx nvidia password php-fpm phpmyadmin pids processes s.m.a.r.t Security session solid state drive ssd ssh ssh server tag 1 tag 2 Ubuntu upgrade varnish VirtualBox VNC Server web server window manager wordpress xfce
    Facebook X (Twitter) Instagram Pinterest

    Type above and press Enter to search. Press Esc to cancel.

    wpDiscuz