Patent ID: 7796616

Claim:
A network connection apparatus for communicating between a network device located in a first private network and a second private network located outside the first private network, comprising: an address acquisition module residing in a memory acquires a public Internet protocol (IP) address of a network management device from a domain name server (DNS) based on a domain name of the network management device of the second private network; and a connection management module residing in a memory forms a peer-to-peer (P2P) connection to the network device if there is a request for a connection to the second private network from the network device, wherein the connection management module residing in a memory forms a virtual private network tunnel with the second private network based on the public IP address transferred from the address acquisition module, and wherein the connection management module residing in the memory transfers and allocates to the network device in the first private network a private IP address used in the second private network.