Answer the question
In order to leave comments, you need to log in
How to return everything back after these commands!?
I led these commands to connect to vpn, since they said that it does not support ipv6, tell me how to get everything back?
sudo nano /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 =3D 1
net.ipv6.conf.default.disable_ipv6 =3D 1
net.ipv6.conf.lo.disable_ipv6 =3D 1
net.ipv6.conf. tun0.disable_ipv6=3D 1
Answer the question
In order to leave comments, you need to log in
Before doing anything in any *.conf file, you should always make a copy of it nearby - for example, old_*.conf.
This is the elemental truth. Now do you understand why?
The commands you specified do not do anything immediately, to apply them you need to re-read the config with the command sysctl -p
. Just edit the file, removing unnecessary lines.
Well, first of all, the line
net.ipv6.conf.all.disable_ipv6=3D 1
if we are talking about new lines in the file, just delete them
, save the file,
reboot the system
or sysctl -p but this was already advised above
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question