After upgrade Ubuntu 18.04 to 20.04, I noticed Hotspot feature seemed working, and phones were able to connect by wifi, but then they reported No internet connection
After checking network-manager logs, it looks like when the Hotspot
feature is enabled/disabled, it tries to configure iptables
. If you check the logs:
sudo journalctl -fu NetworkManager
you can see here, it is trying to use iptables throught /sbin/iptables
path, but it's not the real installation path of it:
NetworkManager[1328]: <warn> [1588096735.3274] Error executing command: Failed to execute child process “/sbin/iptables” (No such file or directory)
As it is not able to configure the redirections, it won't bridge the connetions to/from the internet.