Configuring VPN Connection Properties • • • • • Displaying the Connections Properties Dialog Connection Properties General Settings Connection Properties User Authentication Settings Connection Properties Peers Settings Connection Properties Status Settings Displaying the Connections Properties Dialog The Connection Properties dialog includes the controls for configuring a specific VPN connection profile. To open the Connection Properties dialog, 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 includes the General, User Authentication, Peers and Status tabs. Connection Properties General Settings The General tab in the Connection Properties dialog displays the following settings: • Name - Displays the name of your VPN connection. • Description - Displays a pop-up text about the connection. The text appears when your mouse pointer moves over the VPN connection. • Peer Defined Network Settings - Defines the status of Tunnel All support. These settings are controlled at the SonicWall VPN gateway. • Other traffic allowed - If enabled, your computer can access the local network or Internet connection while the VPN connection is active. • Default traffic tunneled to peer - If activated, all network traffic not routed to the SonicWall VPN gateway is blocked. When you enable the VPN connection with this feature active, the Connection Warning message appears. • Use virtual IP address - Allows the VPN Client to get its IP address via DHCP through the VPN tunnel from the gateway. • Enable this connection when the program is launched - Establishes the VPN connection as the default VPN connection when you launch the SonicWall Global VPN Client. • Immediately establish security when connection is enabled - Negotiates the first phase of IKE as soon as the connection is enabled instead of waiting for network traffic transmission to begin. This setting is enabled by default. • Automatically reconnect when an error occurs - With this feature enabled, if the Global VPN Client encounters a problem connecting to the peer, it keeps retrying to make the connection. This feature allows a Global VPN Client to make a connection to a VPN connection that is temporarily disabled, without manual intervention. If the connection error is due to an incorrect configuration, such as the DNS or IP address of the peer gateway, then the connection must be manually corrected. Check the Log Viewer to determine the problem and then edit the connection. This option is enabled by default. If an error occurs with this option disabled during an attempted connection, the Global VPN Client logs the error, displays an error message dialog, and stops the connection attempt. • Automatically reconnect when waking from sleep or hibernation - Automatically re-enables the VPN connection after the computer wakes from a sleep or hibernation state. This setting is disabled by default. • Execute logon script when connected - After logging into the SonicWall VPN Gateway and establishing a secure tunnel, performs any action configured in the logon script. • Run the following command when connection is established - Allows a program to be automatically executed, with optional arguments, when successful VPN connections are established. • Restrict the size of the first ISAKMP packet sent - This option can be used when the Global VPN Client gets an error such as, “The peer is not responding to phase 1 ISAKMP requests” when attempting to connect. This error can occur when the ISAKMP packet is fragmented due to its size, but the network device (router) does not allow a fragmented packet when establishing the VPN connection. Connection Properties User Authentication Settings The User Authentication page allows you to specify a username and password when user authentication is required by the gateway. 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. • Remember my username and password - Enables the saving of your username and password for connecting to the SonicWall VPN gateway. • Username - Enter the username provided by your gateway administrator. • Password - Enter the password provided by your gateway administrator. Connection Properties Peers Settings The Peers page allows you to specify an ordered list of VPN gateway peers that this connection can use (multiple entries allow a VPN connection to be established through multiple VPN gateways). An attempt is made to establish a VPN connection to the given VPN gateway peers in the order they appear in the list. To add a peer: 1 Click Add. 2 In the Peer Information dialog, enter the IP address or DNS Name in the IP Address or DNS Name field. 3 Click OK. To edit a peer entry: 1 2 3 4 Select the peer name. Click Edit. In the Peer Information dialog, make your changes. See Peer Information Dialog. Click OK. To change the order of the peer list: 1 Select a peer name 2 Click Move Up or Move Down. To delete a peer entry: 1 Select the peer entry. 2 Click Remove. Peer Information Dialog The Peer Information dialog allows you to add or edit peer information. • IP Address or DNS Name - Specifies the peer VPN gateway IP address or DNS name. • Use the default gateway as the peer IP address - Specifies the default gateway as the peer IP address. The Global VPN Client gets the default gateway from the routing table. • Response Timeout - Specifies the maximum amount of time to wait for a response to a sent packet. After this time expires, the sent packet is considered lost and the packet is retransmitted. The valid range is 1-10 seconds. • Maximum Attempts - Specifies the maximum number of times the same packet is sent before determining that the peer is not responding. The valid range is 1-10 attempts. • Dead Peer Detection - Select from: • Automatic - This is traffic-based DPD. If Global VPN Client does not receive response data (one-way traffic), then Global VPN Client exchanges heartbeat packets to detect if the peer gateway is alive. If there is no heartbeat packet response for the configured number of failed checks in DPD Settings, then Global VPN Client tries to re-initiate IKE negotiations. This setting is enabled by default. • Forced On - Performs DPD periodically. The Global VPN Client exchanges heartbeat packets to detect if the peer gateway is alive. If there is no heartbeat packet response for the configured number of failed checks in DPD Settings, then Global VPN Client tries to re-initiate IKE negotiations. • Disabled - DPD is disabled. No heartbeat packets are exchanged. This prevents Global VPN Client from detecting when the gateway is unavailable. • DPD Settings - Displays the Dead Peer Detection Settings dialog. • Check for dead peer every - choose from 3, 5, 10, 15, 20, 25, or 30 seconds. • Assume peer is dead after - choose from 3, 4, or 5 Failed Checks. • NAT Traversal - Choose one of the following three options: • Automatic - Automatically determines whether to use UDP encapsulation of IPsec packets between the peers. • Forced On - Forces the use of UDP encapsulation of IPsec packets even when there is no NAPT/NAT device in between the peers. • Disabled - Disables use of UDP encapsulation of IPsec packets between the peers. • LAN Settings - Displays the LAN Settings dialog for specifying the setting used when this connection is enabled over the LAN. Type the IP address in the Next Hop IP Address field to specify the next hop IP address of a different route than the default route. Leaving the setting as zeros instructs the Global VPN Client to use the default route. Connection Properties Status Settings The Status page shows the current status of the connection. • Connection: • Status - Indicates whether VPN connection is enabled or disabled. • Peer IP Address - Displays the IP address of the VPN connection peer. • Duration - Displays connection time. • Details - Displays the Connection Status Details dialog, which specifies the negotiated phase 1 and phase 2 parameters as well as the status of all individual phase 2 security associations (SAs). • Activity: • Packets - Displays number of packets sent and received through the VPN tunnel. • Bytes - Displays number of bytes sent and received through the VPN tunnel. • Reset - Resets the Packets and Bytes values to zero, from which these counts immediately resume. • Virtual IP Configuration: • IP Address - The IP address assigned via DHCP through the VPN tunnel from the VPN gateway. • Subnet Mask - The subnet mask for the virtual IP address. • Renew - Renews the DHCP lease.