摘要 |
The embodiment of the present invention relates to the technical field of communication and discloses a packet response method and apparatus. The method comprises: an access device receives a target packet sent by a client and obtains and saves a destination Internet Protocol (IP) address of the target packet; the access device processes the target packet to obtain a response packet of the target packet; the access device replaces an original IP address of the response packet with the saved destination IP address of the target packet, and sends the response packet to the client; the access device receives and processes a page acquisition request sent by the client, and returns to the client a page response to the page acquisition request, the page response comprising a uniform resource locator (URL) of a first server. Implementing the present invention obtains a preset URL of the server according to the response packet of the client and enables the client to access websites corresponding to the URL. |