+1 vote
in Operating Systems by (77.2k points)
What command should I use to check if IPv6 is enabled on Debian based VPS?

1 Answer

+2 votes
by (354k points)
selected by
 
Best answer

You can use the following command to check if IPv6 is enabled or not.

sysctl net.ipv6.conf.all.disable_ipv6

If the output is 1, IPv6 is disabled. You can enable it temporarily by running:

sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
 

Related questions


...