Patent ID: 7245937

Claim:
A network system comprising an electronic device, a first communication apparatus, and a second communication apparatus, wherein the electronic device comprises: first receiver means for receiving first feature information transmitted from the first communication apparatus when the first communication apparatus detects that the electronic device is within a range of the first communication apparatus to enable communication between the electronic device and the first communication apparatus, the first feature information indicating a feature of the first communication apparatus required to form a virtual private network, first storage means for storing the first feature information received by the first receiver means and second feature information indicating a feature of the second communication apparatus required to form a virtual private network, second storage means for storing identification information, and first transmitter means for transmitting, to the first communication apparatus, the second feature information of the second communication apparatus and the identification information; and the first communication apparatus comprises: third storage means for storing the first feature information, second transmitter means for transmitting the first feature information to the electronic device, second receiver means for receiving the second feature information and the identification information, third transmitter means for establishing a connection with the second communication apparatus based on the second feature information and for transmitting the first feature information to the second communication apparatus, and forming means for storing the second feature information and for forming a virtual private network with the second communication apparatus.