1. Enter the directory /etc/sysconfig/network-scripts
2. Edit the file ifcfg-eno16777984
(free video tutorial recommendation:linux video tutorial)
3. Just comment out the DNS.
Recommended related articles and tutorials:linux tutorial
The above is the detailed content of Set Linux to be unable to access the external network. For more information, please follow other related articles on the PHP Chinese website!