Close Menu
    Facebook X (Twitter) Instagram
    • Articles
    • How it Works
    • Our Story
    • Contact Us
    Facebook X (Twitter) Instagram Pinterest Vimeo
    IT Beginner
    • Home
    • Blog
      • Happiness
      • Productivity
      • Leadership
    • About us
    • Contact us
    IT Beginner
    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
    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
    • Productivity
    • Leadership

    No posts

    No posts

    Subscribe to Newsletter
    Our Socials
    • Instagram
    • Facebook
    • Twitter
    • YouTube
    • LinkedIn

    Archives

    • April 2025
    • May 2024
    • March 2023
    • July 2022
    • March 2022
    • July 2020
    • January 2019
    • August 2018
    • July 2018
    • August 2017
    • July 2017
    • September 2016

    Categories

    • Business
    • CCNA 1 Instructor Materials
    • CentOS
    • Database
    • Debian
    • Fedora
    • Firefox
    • Happiness
    • Hardware
    • ICND1 Labs
    • ICND2 Labs
    • Leadership
    • Linux Essentials
    • Linux Mint
    • Marketing
    • My SQL
    • Netflix
    • Networking
    • Productivity
    • Resources
    • Security
    • SEO
    • Server
    • Social Media
    • Software
    • Tips – Tricks
    • Ubuntu
    • Uncategorized
    • User Experience
    • WordPress
    • Xubuntu

    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna accumsan in scelerisque.

    Facebook X (Twitter) Instagram Pinterest

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

    wpDiscuz