How to disable IP version 6 on Hiddify
IP version 6 is a new IP structure that was introduced after IP version 4. This structure is 64 bits and contains 6 sections of 4 hex characters. Hex is based on 16 numbers.
Its structure is as follows:
1ec2:5b7a:9fab:cdef:cfab:5a7c
Because IP version 6 has a wide range, it is much harder to filter than IP version 4. But sometimes, despite the advantages of IP version 6, it is necessary to turn off this version of IP. For example, the Google search error (403 error) is solved by turning off IP version 6. There are two ways to do this.
How to disable IP version 6 on Hiddify
Just enter the general settings in the panel settings and activate the IP version 4 only
option.
How to disable IP version 6 via SSH
-
If for any reason you need to turn off IP version 6 via SSH, connect to your server via SSH, and exit the Hiddify menu with
ctrl+c
. -
Open the system settings file with nano text editor.
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1
- Save the file with
ctrl+s
and pressctrl+x
to exit. - Finally, reset the settings file with the command below.