Adding VPN connections to Android 1.6 (Donut)

HTC One

HTC One

Beautifully Crafted

With over 300 new features, a completely live home screen, first of its kind living photo gallery and dual frontal stereo speakers.

More...
Samsung Galaxy S IV

Samsung Galaxy S IV

Life Companion

It's here: the Galaxy S IV has been unveiled. Where do you go when you're the biggest smartphone manufacturer in the world?

More...
BlackBerry Z10

BlackBerry Z10

BlackBerry 10

All BlackBerry, New Software. Designed to keep you moving.

More...
BlackBerry Q10

BlackBerry Q10

BlackBerry 10

Every feature, every part of this BlackBerry® 10 smartphone has been crafted with precision and designed for ultimate performance.

More...
Acer Liquid E1

Acer Liquid E1

Big Sights, Bigger Sounds

Optimised for entertainment, and for your budget.

More...
HTC One SV

HTC One SV

4G Connectivity

Beats Audio. ImageSense.

The practical phone for the demanding you.

More...
Windows Phone 8X by HTC

Windows Phone 8X by HTC

Powerfully personal

Amplified by Beats

A new, iconic design that keeps you connected while also reflecting you.

More...
Windows Phone 8S by HTC

Windows Phone 8S by HTC

Powerfully personal

Amplified by Beats

The smartphone to match your life at work and play.

More...
HTC Desire X

HTC Desire X

Authentic Sound

Powerful Performance

Stunning design with easy access to content and fast connectivity – making it the perfect all-round device.

More...
Samsung Galaxy Note II

Samsung Galaxy Note II

Note, the new way

Larger screen, thinner design, S Pen, AirView, Android Jelly Bean and more.

More...
Samsung Galaxy S III

Samsung Galaxy S III

Designed For Humans

Inspired By Nature

This sleek and innovative smartphone has the enhanced intelligence to make everyday life easier.

More...
HTC One X

HTC One X

Technology Leader

Quad Core Android Jelly Bean

Perfect for gaming, watching videos and surfing the net

More...
Option Beemo

Option Beemo

4G and beyond

Quad-band LTE

High-speed portable Internet access.

More...
ZTE MF60

ZTE MF60

Portable Internet

USB & WiFi for Windows and Mac

High speed, portable Internet access in your pocket.

More...
Option Icon XY

Option Icon XY

Stylish Design

Interchangeable Covers

Plug and Play installation, slim form factor, customisable covers, microSD slot and more

More...
Advance Replacement

Advance Replacement

Never be without a phone, contact us for details on our advance replacement service.

More...
Accessories

Accessories

Contact us for more information on our extensive top brand accessory portfolio.

More...
Free Delivery

Free Delivery

Get your order delivered free of charge when you spend over £150 online.

More...
Webshop On Demand

Webshop On Demand

Easily deployable with advanced functionality designed for the wireless industry.

More...
Seminars

Seminars

Unlock your profit potential with our complementary seminar programme.

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://ukblog.im-mobility.com/troubleshooting-mobile-vpn-connections

For details on how to tunnel VNC via SSH on Android, read this article - http://ukblog.im-mobility.com/connect-ssh-vpn-vnc-android-device