Android - VPN doesn't work on HTC Desire over WiFi

A complete article on VPN on HTC Desire is present on the HTC Europe portal. Hope this will help you out.

Connecting to a virtual private network (VPN) From your phone, you can add, set up, and manage virtual private networks (VPNs) that allow you to connect and access resources inside a secured local network, such as your corporate network.

Depending on the type of VPN you are using at work, you may be required to enter your login credentials and/or install security certificates before you can connect to your company’s local network. You can get this information from your network administrator.

Also, your phone must first establish a Wi-Fi or data connection before you can initiate a VPN connection. For information about setting up and using these connections on your phone, see Data connection and Wi-Fi.

Setting up secure credential storage

If your network administrator instructs you to download and install security certificates, you must first set up the phone’s secure credential storage.

  • From the Home screen, press MENU, tap Settings > Security, and then tap Set password.
  • Enter a new password for the credential storage (at least 8 characters without any spaces).
  • Scroll down and confirm the password, and then tap OK.
  • Select the Use secure credentials check box.

You can then download and install the certificates needed to access your local network Your network administrator can tell you how to do this.

Adding a VPN connection

  • From the Home screen, press MENU, tap Settings > Wireless & networks > VPN settings.
  • Tap Add VPN, and then tap the type of VPN you want to add.
  • Tap the VPN settings and set them up according to the security details you obtained from your network administrator.
  • Press MENU, and then tap Save.

The VPN is then added to the VPNs section of the VPN settings screen.

Connecting to a VPN

  • From the Home screen, press MENU, tap Settings > Wireless & networks > VPN settings.
  • In the VPNs section, tap the VPN that you want to connect to.
  • When prompted, enter your log in credentials, and then tap Connect.

When you are connected, the VPN connected icon appears in the notification area of the title bar.

You can then open the web browser to access resources such as intranet sites on your corporate network.

Disconnecting from a VPN

  • Press and hold the title bar, and then slide down your finger to open the Notifications panel.
  • Tap the VPN connection to return to the VPN settings screen, and then tap the VPN connection to disconnect from it.
  • When your phone has disconnected from the VPN, the VPN disconnected icon is displayed in the notification area of the title bar.