You are right. There are two LAN and one WAN.

But I cannot understand why when you connect to wifi it works but not working on LAN.