Both Windows and Android have a way of showing the user that they have lost the internet connection (a yellow triangle icon for Windows and a grey wifi icon for Android). What kind of check do they perform in order to determine whether there is internet connectivity?
I know that bad local network settings can trigger that, but I am asking for cases which are independent of the computer configuration, for example when the router drops WAN connection while the local settings are all correct.
Will these devices check the WAN side of the router or something else?
If the answer is yes, can the setup below trick Windows or Android into thinking there is an internet connection where there is none?
Router(1)(LAN) <-------------> (WAN)Router(2) (LAN) <-----------> PC or Android
Note that Router(2) is connected via WAN port to Router(1).