← Back to team overview

ubuntu-phone team mailing list archive

VPN support (OpenVPN only)

 

Hi folks,

As some of you may already know. Support for OpenVPN was landed into
rc-proposed on 24/12/2015. Unfortunately this doesn't include the official
UI that is part of ubuntu-system-settings.

So here I'm including a prototype UI in a click that will let you try it
out:
http://people.canonical.com/~pete/com.ubuntu.developer.pete-woods.vpn-editor_0.2.0_all.click

In order for this to work you will need to be on at least:

   - r202 for Arale rc-proposed
   - r213 for Krillin rc-proposed
   - (for other rc-proposed channels, make sure the image was built after
   the 24th)

To set up your connection, the first step is to copy whatever certificates
you need onto the phone, via the standard Ubuntu file explorer. I created a
"vpn" folder inside "Documents", but you can place them anywhere.

Then you need to install the click app:

   - Enable developer mode in Settings->About
   - adb push com.ubuntu.developer.pete-woods.vpn-editor_0.2.0_all.click
   /tmp
   - adb shell "pkcon install-local --allow-untrusted
   /tmp/com.ubuntu.developer.pete-woods.vpn-editor_0.2.0_all.click"

Then you're ready to fire up the "VPN editor" app itself (refresh the apps
scope) and create a new connection. Pick your authentication type, then
fill locate the various certificates you need. If you are configuring the
Canonical VPN, please note there are a number of advanced settings you need
to duplicate from the settings on your desktop machine. I have tried as
best as I can to make this UI behave the same as it does on the desktop, so
hopefully it works well for you.

I'm planning to add PPTP to the mix in the near future, so keep tuned for
that.

Cheers, Pete

Follow ups