The problem is either the routers option to block non vpn traffic is enabled or the iPhone needs “maximum compatibility” enabled in the network settings. It has to be one of those 2.