This guide explains how to disable IPv6 on Linux using the terminal. Disabling IPv6 may help prevent connectivity issues and ensure proper compatibility with CyberGhost services that only support IPv4 connections.
Note: For the purposes of this tutorial, we have used Ubuntu as an example; however, the steps are very similar on most other Linux distributions.
-
Open Terminal.
-
Type sudo nano /etc/sysctl.d/99-disable-ipv6.conf
-
If prompted, enter your password.
-
Inside the editor, copy and paste the text from the box below:
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 -
Press Ctrl + O to save the file, then press Ctrl + X to return to the previous screen. Type sudo sysctl --system to force the system to load the new rules immediately without requiring a reboot.
-
Check the results. Fields ending in =1 indicate that the function is disabled.
Need assistance? Contact our Customer Support team:
- by email: support@cyberghost.ro
- by online request: https://support.cyberghostvpn.com/hc/en-us/requests/new
- by 24/7 live chat on our website
Comments
0 comments
Article is closed for comments.