03/26/2020 22 People found this article helpful 466,392 Views
This article explains the steps for configuring the SonicWall firewall and Global VPN client (GVC) to connect automatically to the VPN when the computer wakes from sleep.
Step 1: Login to the SonicWall management page. Navigate to Manage | VPN | Base Settings and configure the WAN GroupVPN. For configuring the WAN GroupVPN Click here.
Step 2: The option "Cache XAUTH User Name and Password on Client" should be set to Always in the Client Tab in the WAN GroupVPN and save the settings.
Step 3: Configuring VPN Connection Properties: The Connection Properties dialog box includes the controls for configuring a specific VPN connection profile. To open the Connection Properties dialog box, choose one of the following methods:
Select the connection and choose File > Properties.
Right click the connection and select Properties.
Select the connection and click the Properties button on the Global VPN Client window toolbar. The Connection Properties dialog box includes the General, User Authentication, Peers and Status tabs.
Step 4: In the General tab in the Connection Properties dialog box enable the option "Automatically reconnect when waking from sleep or hibernation". This option will automatically enables the VPN connection after the computer wakes from a sleep or hibernation state. This setting is disabled by default.
Step 5: In the User Authentication tab specify the username and password when user authentication is required by the SonicWall and apply the settings.
Note: If the SonicWall VPN gateway does not support the saving (caching) of a username and password, the settings in this page are not active and the message "The peer does not allow saving of username and password" appears at the bottom of the page.