Introduction

Ever needed to disable IPv6 on a single interface?

Solution

All that’s needed is a simple line adding to the appropriate conf file

sudo vim /etc/sysctl.conf

Add the following line to the bottom of the file obviously substituting <interface> for your interface.

# Disable IPv6
net.ipv6.conf.<interface>.disable_ipv6 = 1
Ubuntu Disable IPv6 on a Single Interface
Tagged on:         

Leave a Reply

Your email address will not be published. Required fields are marked *

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