Adding VPN connections to Android 1.6 (Donut)

ZTE Tania

ZTE Tania

Windows Phone Mango

Fully equipped

Great for business and pleasure

More...
BlackBerry Bold 9790

BlackBerry Bold 9790

BlackBerry OS7

Powerful & Fully Featured

Smooth performance for browsing the web, running apps, working with documents, and enjoying multimedia

More...
Motorola RAZR

Motorola RAZR

The RAZR is back

Faster, Thinner, Smarter, Stronger

Dual-core 1.2GHz processor, 7.1mm body, MotoCast, and KEVLAR strong.

More...
HTC Sensation XL

HTC Sensation XL

Feel every beat

With Beats Audio

A multimedia superstar with Beats earphones included.

More...
HTC Titan

HTC Titan

Unlike anything you've ever held before

Office on the move

Windows Phone 7.5 (Mango). With a 4.7-inch screen and big virtual keyboard, the Titan is perfect for both work and play.

More...
HTC Radar

HTC Radar

Real time close

Windows Phone 7.5 (Mango)

Pull all your contacts and social networks together into one place to stay connected with friends and share instantly.

More...
BlackBerry Bold 9900

BlackBerry Bold 9900

Slim yet powerful

Touch and Type in harmony

The Bold 9900 is RIM's thinnest BlackBerry smartphone yet and as lightweight and durable as it is feature-packed.

More...
BlackBerry Curve 9360

BlackBerry Curve 9360

Socially aware

Sleek and stylish

The 9360 feels just right in your hand and with a ton of accessories you can really make it your own.

More...
HTC ChaCha

HTC ChaCha

Facebook integrated

Full qwerty Android

Share virtually anything with just one touch.

More...
ZTE Libra

ZTE Libra

Affordable Android

WiFi hotspot, Exchange email, Google Maps and much, much more all at an attractive price.

More...
ZTE MF30/MF60

ZTE MF30/MF60

Portable Internet

USB & WiFi for Windows and Mac

High speed, portable Internet access in your pocket.

More...
Motorola Defy +

Motorola Defy +

Lifeproof

Faster, smarter, richer

Scratch, dust and water-resistant. 1GHz processor, 5MP camera and great pre-loaded apps.

More...
Motorola Pro +

Motorola Pro +

Works and plays as hard as you do

Faster, smarter, richer

A powerful smartphone optimised for business but fun enough to use for your personal life.

More...
BlackBerry Curve 9380

BlackBerry Curve 9380

BlackBerry OS7

The 1st all-touch Curve

Easily capture and share your favourite moments with family, friends and colleagues.

More...
Novatel MiFi 3352

Novatel MiFi 3352

Intelligent Personal Mobile Hotspot

Portable High-Speed Internet

Carry the Internet with you stream media wirelessly from your SD card.

More...
HTC Sensation XE

HTC Sensation XE

With Beats Audio

Designed to impress

With custom Beats headphones, engineered to deliver extraordinary sound.

More...
HTC Rhyme

HTC Rhyme

Accessories to fit your life

Stay connected with those closest to you

Stylish, effortless technology.

More...
ZTE Skate

ZTE Skate

Affordable Android

WiFi hotspot, Exchange email, Google Maps and much, much more all at an attractive price.

More...
HTC Explorer

HTC Explorer

A design that fits your lifestyle

Keep in touch with the people who matter

Jump right into what's most important to you thanks to an improved lockscreen design.

More...
ZTE Tureis

ZTE Tureis

Full Qwerty 2.6-inch touchscreen

Android Gingerbread

Business and social features in a slim package.

More...
Frontpage Slideshow (standalone) | Copyright © 2006-2011 JoomlaWorks Ltd.

Release 1.6 of the Android platform, aka Donut, included support for PPTP, L2TP and IPSec-based VPN connections.
This article will give an overview of where to find the settings governing VPN connections, what connection settings are required, and how to install and select certificates.

VPN settings are located in the Settings menu under Settings --> Wireless Controls --> VPN Settings:

Android Donut VPN Settings

The following types of VPN connection are supported:

  • Point to Point Tunnelling Protocol (PPTP)
  • Layer 2 Tunnelling Protocol (L2TP)
  • Layer 2 Tunnelling Protocol with IPSec Pre-Shared Key
  • Certificate based IPSec VPN with optional L2TP shared secret

Android Donut VPN Settings


PPTP

Adding a PPTP-based VPN connection requires only that an identifying name be entered for the connection, and the name or IP address of the VPN server:

Android Donut VPN Settings

DNS Search domains can be entered, to identify 'domain.com' as sitting 'behind' the VPN and to use the remote DNS servers on that network when searching for entries within the specified domain.

Once saved, the VPN connection will be listed:

Android Donut VPN Settings

Tapping and holding on the entry for the connection will display a context menu allowing you to initiate the connection, edit it or remove it:

Android Donut VPN Settings

Initiating the connection will prompt you to enter your username and password:

Android Donut VPN Settings


L2TP

Adding an L2TP-based connection is almost identical, except that you can select to use a shared secret and configure the details of that secret:

Android Donut VPN Settings


L2TP / IPSec PSK

The IPSec Pre-Shared Key L2TP-based VPN requires the same settings, but also allows for an IPSec key to be configured:

Android Donut VPN Settings


L2TP / IPSec CRT

Certificate-based VPN connections require that server and user certificates be installed on the device. These need to be exported from the VPN server in .DER format and copied onto the device. These can be loaded from the SD memory card, or can be downloaded via the browser.

ADDENDUM - whilst I found on the unit used to create this article originally that DER certificate files were required, if you find that opening your certificate in the web browser simply downloads the text content of the file, try using CRT format files instead.

When installing the certificate, you will be prompted to enter a name to identify it:

Android Donut VPN Settings

If you are prompted to enter a password before you can import the certificate:

Android Donut VPN Settings

this implies that the 'Secure Storage' feature has been enabled on the device. This is configured within Settings --> Security:

Android Donut VPN Settings

Once the certificate has been installed, when creating the VPN connection, the certificate will appear in the list of available certificates:

Android Donut VPN Settings Android Donut VPN Settings

with the name you entered to identify it.

Your VPN connection has now been configured. For details on troubleshooting mobile VPN connections, read this article: http://blog.brightpointuk.co.uk/troubleshooting-mobile-vpn-connections

For details on how to tunnel VNC via SSH on Android, read this article - http://blog.brightpointuk.co.uk/connect-ssh-vpn-vnc-android-device