Remove All Ads from XDA

VPNC on android

27 posts
Thanks Meter: 2
By Ungamedplayer, Junior Member on 4th May 2009, 12:15 PM
Post Reply Email Thread

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

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.
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: [ View ] Gift Ungamedplayer Ad-Free
4th May 2009, 12:17 PM |#2  
OP Junior Member
Thanks Meter: 2
Reserved for changelog.
4th May 2009, 12:18 PM |#3  
OP Junior Member
Thanks Meter: 2
no longer needed.
4th May 2009, 12:20 PM |#4  
OP Junior Member
Thanks Meter: 2
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.
4th May 2009, 02:21 PM |#5  
Senior Member
Flag Frostburg MD
Thanks Meter: 5
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
4th May 2009, 05:43 PM |#6  
OP Junior Member
Thanks Meter: 2
Sent to said address.
5th May 2009, 04:29 AM |#7  
OP Junior Member
Thanks Meter: 2
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.
5th May 2009, 07:04 PM |#8  
OP Junior Member
Thanks Meter: 2
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).
5th May 2009, 07:11 PM |#9  
Junior Member
Thanks Meter: 0
Great. Would be awesome if you could share your binaries. What about joining this project and submitting what you did?
6th May 2009, 01:58 AM |#10  
OP Junior Member
Thanks Meter: 2
Tried mailing the owner of the project, many weeks ago. No response. Guess its dead.
6th May 2009, 02:00 AM |#11  
OP Junior Member
Thanks Meter: 2
I'm going to try to get a build environment setup for the major releases. Please PM me within the next 7 days if you are interested.

I plan to not only release the binaries, but the source code and build environment also. Hopefully the upstream developers will also take my patches.
Post Reply Subscribe to Thread

android, ipsec, vpnc

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes