No IPv6

by britchey
2 deployments · 2 still active · last rev. 3 months ago

Disables IPv6

Compatible with: Debian 8
						#!/bin/bash

echo net.ipv6.conf.all.disable_ipv6 = 1 >> /etc/sysctl.conf
echo net.ipv6.conf.default.disable_ipv6 = 1 >> /etc/sysctl.conf
echo net.ipv6.conf.lo.disable_ipv6 = 1 >> /etc/sysctl.conf
echo net.ipv6.conf.eth0.disable_ipv6 = 1 >> /etc/sysctl.conf

sudo sysctl -p