Embodiments of the present application provide a method, device, equipment and medium for providing services for terminals in a
local area network, different port numbers are allocated to different home
broadband account numbers by a cloud gateway device, a request message for requesting a certain service in the cloud gateway device is received from a terminal in a
local area network corresponding to a home
broadband account number, a destination
IP address in the request message is an
IP address of the cloud gateway device, and a destination port number is a port number corresponding to the home
broadband account number corresponding to the terminal, thus the cloud gateway device can distinguish the request messages corresponding to different home broadband account numbers through the port number corresponding to the home broadband account number, and respond to the request messages to provide services for the terminals in the
local area network corresponding to different home account numbers, so that the
private IP of the terminals in the local
area network corresponding to different home account numbers is the same, the corresponding terminal in the local
area network cannot be responded to, and services cannot be provided.