CPC H04L 63/0272 (2013.01) [H04L 9/0838 (2013.01); H04L 9/3073 (2013.01)] | 20 Claims |
1. A method comprising:
receiving, by a virtual private network (VPN) server, a login request from a VPN client;
obtaining, by the VPN server, an identity of the VPN client from the login request;
generating, by the VPN server, a unique pre-shared key (PSK) corresponding to the identity of the VPN client;
creating, by the VPN server, a mapping between the identity and the unique PSK of the VPN client;
storing, by the VPN server, the mapping in a database;
sending, by the VPN server, the unique PSK to the VPN client;
receiving, by the VPN server, an Internet Key Exchange (IKE) packet comprising an encrypted identity of the VPN client;
decrypting, by the VPN server, the encrypted identity of the VPN client from the IKE packet to determine the identity of the VPN client associated with the IKE packet;
retrieving, by the VPN server, the unique PSK corresponding to the identity of the VPN client associated with the IKE packet from the mapping in the database; and
in response to retrieving the unique pre-shared key (PSK) corresponding to the identity of the VPN client, establishing, by the VPN server, a VPN connection with the VPN client.
|