[Tip] How to disable IPv6 on Linux

Let your contribution to facilitate the day-to-day our
Forum rules
Read the community rules here. Search before posting. If your question has been solved, please add [SOLVED] in the title of your topic.
Post Reply
User avatar
Posts: 212
Joined: Mon Apr 03, 2017 6:46 pm
Location: Brasil

[Tip] How to disable IPv6 on Linux

Post by Holmes » Sun Jul 16, 2017 3:11 am

Open a terminal window.
Change to the root user. su
Issue the command sysctl -w net.ipv6.conf.all.disable_ipv6=1
Issue the command sysctl -w net.ipv6.conf.default.disable_ipv6=1
To re-enable IPv6, issue the following commands:
sysctl -w net.ipv6.conf.all.disable_ipv6=0
sysctl -w net.ipv6.conf.default.disable_ipv6=0

more information in http://www.techrepublic.com/article/how ... -on-linux/.

vlw fwi, Holmes :)

Kibojoe Linux
Minimal, Fast and Elegant!

Post Reply