• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.
Sign in to follow this  
Followers 0

OpenVPN on Android 2.1+??

3 posts in this topic

Posted

I was wondering has anyone had experience with OpenVPN on Android??

So far I have managed to configure my Linux box to run as a server and my Android phone as a client using the following guidance - http://vpnblog.info/android-openvpn-strongvpn.html although there was some issues I had to fix myself.

t connects fine, I have an IP address which I can PING and ifconfig clearly shows I have working tun0 interface with an IP address of 10.8.0.5.

My problem is that none of my applications will connect via VPN they're still using the wifi network, obviously I cannot disable wifi otherwise my VPN won't work.

Am I missing something here?? how can I make the VPN my default network for connecting applications??

I had a quick look on Google Play for some possible solutions but alas I am still stumped with this problem.

Richard S.

0

Share this post


Link to post
Share on other sites

Posted

I'm told 2.1 is missing drivers for OpenVPN - if you haven't already installed these.

Myself I attempted to get a refund out of Three as the device clearly should connect using OpenVPN (and other VPN protocols, the menu options etc. are all there) but does not (out of the box that is). Three gave me a second ZTE and told me to try that (which likewise duly did not work). After going to the ombudsman Three legally referred me to their Chinese suppliers, at which point and after over a year of all this I started to lose the will to live, and gave up (ZTE did not have a European presence at the time).

You could reflash an updated version of Android (if we have one, am about to look), that should do it.

0

Share this post


Link to post
Share on other sites

Posted (edited)

Actually it's a little more complicated than not supporting OpenVPN it would appear ZTE haven't bothered to compile iptables 'filter' support into the Kernel.

This is used by many 3rd party apps (i.e. proxy, firewalls etc) for re-routing network traffic to a middle man and then routing it back.

If you're using the stock ROM for Android 2.1 then your apps must support proxy networking internally otherwise network traffic continues it's normal way.

So far SandroB seems to be the only browser capable of proxy connections but HTTP only and not Socks so communications between phone and servers are not encrypted.

The only way to get iptables working properly is by flashing a Cyanogenmod based ROM I'm not even sure if it's possible to re-compile Android 2.1 with ipchains anyway and I doubt there would be much call for it either.

Ironically CM actually has OpenVPN support built in but for the love of God I cannot figure out how to import my certificates.

I did find a much better solution one that only requires a Linux box capable of ssh login something like a shell account or a Raspberry Pi running Raspbian would do.

On my CM phone I am using a program called SSH Tunnel - https://play.google....d=org.sshtunnel you fill in the login details for your Linux box and once the app is enabled you have instant (TCP only) encrypted networking. :)

Richard S.

Edited by redhawkuk
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.