My ubuntu system is loaded with VMware, and I suddenly found that I can't access the Internet when I woke up this morning. As a result, it was later found that the VMware service was not turned on. After turning on the service, everything was OK.
That's it. It is OK to open NAT Service.