Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Ungamedplayer
Old
(Last edited by Ungamedplayer; 22nd July 2009 at 08:52 AM.) Reason: working now.
#1  
Junior Member - OP
Thanks Meter 1
Posts: 27
Join Date: May 2009
Default VPNC on android

Introduction

This is the first release of an installable package to allow google android phones to connect to Cisco like VPN concentrators.
Details

The installing phone will require:

* Root user privileges on the phone.
* /dev/tun file
* Kernel with tun support (or tun module). (cyanogen should be good)
* A cisco, nortel or freeswan ipsec server to connect to.

How To
Installing this version

This is available in the android market as a free application. It should be called VPN Connections. (Not sure where it will be listed as yet).

The latest version of the application can also be downloaded from here and installed using adb.
Reporting bugs

Please inform us which ROM and version that you are using, if the /dev/tun exists, its permissions, and the output of logcat from a boot, also the version of this application that you are running.

If your ROM and version are already reported in the issue list, please comment in the thread as there has been some inconsistencies in reports.

Please be very careful when lodging a bug as it may contain company confidential information. Be sure to strip any secrets or passwords from the configuration files or debugging information.

http://code.google.com/p/get-a-robot-vpnc/issues/list
Known issues

May need to load the tun module manually first.
Usernames can not contain the @ symbol.
Does not currently work with one time pass devices (Rsa keys).
The Following User Says Thank You to Ungamedplayer For This Useful Post: [ Click to Expand ]
 
Ungamedplayer
Old
(Last edited by Ungamedplayer; 22nd July 2009 at 08:53 AM.)
#2  
Junior Member - OP
Thanks Meter 1
Posts: 27
Join Date: May 2009
Reserved for changelog.
 
Ungamedplayer
Old
(Last edited by Ungamedplayer; 22nd July 2009 at 08:54 AM.)
#3  
Junior Member - OP
Thanks Meter 1
Posts: 27
Join Date: May 2009
no longer needed.
 
Ungamedplayer
Old
#4  
Junior Member - OP
Thanks Meter 1
Posts: 27
Join Date: May 2009
I'm not trying to ping via DNS name, so dont be worred about that. I know the other hosts are up, reachable and pingable.

Tried TCP and ICMP connections.
 
Saiboogu
Old
#5  
Senior Member
Thanks Meter 5
Posts: 304
Join Date: Apr 2009
Location: Frostburg MD
Unfortunately I don't have any ideas for you.. I'd like to play with it some myself though, would love to have VPN working. Could you send me / post the compiled binaries? saiboogu [at] g mail

Thanks and good luck
 
Ungamedplayer
Old
#6  
Junior Member - OP
Thanks Meter 1
Posts: 27
Join Date: May 2009
Sent to said address.
 
Ungamedplayer
Old
#7  
Junior Member - OP
Thanks Meter 1
Posts: 27
Join Date: May 2009
A little more information.

When tcpdumping the connection, packets originating from the phone go out through the device.
When tcpdumping the connnection with packets originating from the internal network through the vpn, i can tell they make it to the rmnet0 device, but never make it to tun0 device.
 
Ungamedplayer
Old
#8  
Junior Member - OP
Thanks Meter 1
Posts: 27
Join Date: May 2009
Ok, so I have it working now ! Wahoo.

So.. going to tidy the code up, Clean up the shell script to be android specific (and set the DNS servers).
 
P3TR
Old
#9  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Nov 2007
Great. Would be awesome if you could share your binaries. What about joining this project and submitting what you did?
 
Ungamedplayer
Old
#10  
Junior Member - OP
Thanks Meter 1
Posts: 27
Join Date: May 2009
Tried mailing the owner of the project, many weeks ago. No response. Guess its dead.

 
Post Reply+
Tags
android, ipsec, vpnc
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...

XDA PORTAL POSTS

Xposed Framework Module for the AT&T Galaxy S 4

Got yourself a brand new Galaxy S 4? Are you looking for some fun mods to make it truly your … more

Job Interview Prep: Phone Screen Part 1 – XDA Developer TV

XDA Developer TV Producer Jayce has been very busy creating videos to help … more

Auto Test Your Android Apps with Robotium

You’ve just finished coding your very first app, but before you release it to the wild, you … more

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more