Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
cvandeplas
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Aug 2009
Default Android OpenVPN

Since I bought my HTC Hero two weeks ago I can't stop enjoing the device.
Except one thing: Currently no OpenVPN client exists yet for the Android platform.

While searching Google I could find people referring to successfull ports of openvpn, but all discussions were vague and all links were dead.


This resulted in the motivation to work on making openvpn available on Android.
For the last weeks I have been reading documentation and already started coding a very basic GUI. (listing and editing configuration files)

Being fairly novice to Android, and expecting I'm not the only one envying such functionality I am starting a Call for Participation trying to reach other developers interested to work on the project.

As structure of this application I see the following parts:
1) GUI stuff to manage configurations (view, create, edit and delete). Tunnel management (connect, disconnect, view log, view ip) would also be done here. (language: java)
2) background daemon sending notifications about the tunnel state (don't know if that's necessary) (language: java)
3) ported openvpn client that parses the config and does the real work. (language: c)

It looks like other projects already provide the necessary tun kernel drivers. Rooting your device will be necessary to be able to load the driver.

Being supportive to open source software I'd like to keep the code open.
Discussions about selling the (compiled) GUI on the Market are possible.


Interested developers can reply here or contact me at christophe@vandeplas.com.


Some interesting links:
http://openvpn.net/index.php/open-source/downloads.html
http://developer.android.com/sdk/ndk/1.5_r1/index.html
http://code.google.com/p/get-a-robot-vpnc/

Posted on xda-developers and MoDaCo.
 
wolfiedk
Old
#2  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Sep 2009
Please post if you find a openvpn GUI for the HTC Magic / Hero

Best regards
 
jeremy89632
Old
#3  
jeremy89632's Avatar
Senior Member
Thanks Meter 2
Posts: 967
Join Date: Jun 2008
Location: Singapore
I saw one being developed in Singapore.
I think its featured by the codeandroid.org community.

Its in the Marketplace now, I guess?
@thejeremygoh | www.thejeremygoh.com | www.jeremygohblog.com
DEVICE: HTC Desire HD (S-OFF) + HP TouchPad
ROM: VillainROM HD and Android Revolution HD / CyanogenMod 7.1 and HP Web OS
SOFTWARE: Android 2.3 (Gingerbread) + HTC Sense UI 3


PREVIOUSLY:
DEVICE: HTC Hero / HTC Touch
ROM: VillainROM's FroydVillain / ONYX Ultimate
GUIDE: Android for Elf
 
stickman
Old
#4  
Member
Thanks Meter 0
Posts: 84
Join Date: Jun 2005
Quote:
Originally Posted by jeremy89632 View Post
I saw one being developed in Singapore.
I think its featured by the codeandroid.org community.

Its in the Marketplace now, I guess?
Searched for it in the SG App directory and couldn't find it there.

It doesn't show up either in the US Market. Could you please attach an apk for it?
 
jeremy89632
Old
#5  
jeremy89632's Avatar
Senior Member
Thanks Meter 2
Posts: 967
Join Date: Jun 2008
Location: Singapore
Quote:
Originally Posted by stickman View Post
Searched for it in the SG App directory and couldn't find it there.

It doesn't show up either in the US Market. Could you please attach an apk for it?
Can you go to codeandroid.org forums and open a thread to ask about it?
@thejeremygoh | www.thejeremygoh.com | www.jeremygohblog.com
DEVICE: HTC Desire HD (S-OFF) + HP TouchPad
ROM: VillainROM HD and Android Revolution HD / CyanogenMod 7.1 and HP Web OS
SOFTWARE: Android 2.3 (Gingerbread) + HTC Sense UI 3


PREVIOUSLY:
DEVICE: HTC Hero / HTC Touch
ROM: VillainROM's FroydVillain / ONYX Ultimate
GUIDE: Android for Elf
 
fries_
Old
#6  
Junior Member
Thanks Meter 2
Posts: 7
Join Date: Sep 2009
Default OpenVPN 2.1 available

You'll find the port here:

http://github.com/fries

A port of liblzo, patches to openssl to support blowfish and openvpn 2.1 it self.

Precompiled binaries are available here:

http://github.com/fries/android-exte...nvpn/downloads

There is currently no installer but you can copy the file to your device with the adb command.

I'm also working on an app to monitor and configure vpns.

Best Regards
 
fries_
Old
#7  
Junior Member
Thanks Meter 2
Posts: 7
Join Date: Sep 2009
Now there is also an android app to monitor the openvpn state.

http://github.com/fries/android-exte...nvpn/downloads
 
porear
Old
(Last edited by porear; 14th September 2009 at 10:50 PM.)
#8  
Junior Member
Thanks Meter 0
Posts: 20
Join Date: Feb 2009
Quote:
Originally Posted by fries_ View Post
Now there is also an android app to monitor the openvpn state.

http://github.com/fries/android-exte...nvpn/downloads
Corrected link

http://github.com/fries/android-exte...nvpn/downloads
 
ngomo
Old
#9  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Feb 2009
Default is there any reason why the monitor application does not work ?

ive installed openvpn successfully but the monitor application is just a black in black layout ?


ng
 
inigoml
Old
#10  
Senior Member
Thanks Meter 31
Posts: 102
Join Date: Sep 2009
Location: Madrid
Quote:
Originally Posted by porear View Post
Hi.

I've installed both openvpn and Openvpn-Monitor.apk.
Monitor opens, but there is no way to configure vpn. I've tried to import a valid config file from my linux box but monitor says it's not a valid config file.

Any advices or docs?

Thanks in advance.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...