Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,266 Members 40,287 Now Online
XDA Developers Android and Mobile Development Forum

VPNC on android

Tip us?
 
Ungamedplayer
Old
(Last edited by Ungamedplayer; 22nd July 2009 at 08:52 AM.) Reason: working now.
#1  
Junior Member - OP
Thanks Meter 2
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 2 Users Say 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 2
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 2
Posts: 27
Join Date: May 2009
no longer needed.
 
Ungamedplayer
Old
#4  
Junior Member - OP
Thanks Meter 2
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: 305
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 2
Posts: 27
Join Date: May 2009
Sent to said address.
 
Ungamedplayer
Old
#7  
Junior Member - OP
Thanks Meter 2
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 2
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 2
Posts: 27
Join Date: May 2009
Tried mailing the owner of the project, many weeks ago. No response. Guess its dead.

Tags
android, ipsec, vpnc
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...