4 ports. Tried the possible ports and as I wrote above, when I connect the WAN port to an internal LAN, I do get a normal LAN IP address. However, when I connect the same port to a cable modem, I get nothing.