[Q] OpenVPN on CM9? - Samsung Galaxy Nexus

Does anybody here use OpenVPN with CM9? What OpenVPN settings and/or kernel are you using with success? I've tried it with the stock CM9 kernel, but no good. It connects and everything indicates it should be working, but nothing gets through.

Hi,
I'm trying to configure it at the moment with my Nexus One using the new 7.2 CM, but I didn't fully succeed for the moment. I can connect, ping the lan machines, ping everything on the web through the vpn, but I couldn't surf or use any web services. Server is on a Win7 x64 pc, I suspect a server bad configuration (first try).
Android 2.3.7
kernel 2.6.37.6-cyanogenmod-g0799e00
last openvpn server version
I tried with the openvpn software supplied with CM, but it seems better and faster with OpenVpn Installer + OpenVpn Settings android packages. Plus it provides ovpn client logs, DNS settings, auto reconnect, .conf/ovpn files and a simplified certificates system.
Hope this helps...

I used the openvpn installer and openvpn settings apps, but couldn't get it to work. I'm still investigating. It's strange because I've tried using different roms and kernels already.
Sent from my Galaxy Nexus using XDA

Related

[Q] VPN client suggestion

Does anyone have a recommendation for a good VPN client/service to use with the Inc2 with MIUI?
I've tried Any Connect for Root Devices but I think tun.ko has to be load/baked into the ROM. The app installs successfully and I'm able to get to the login of the VPN server but then it gives me an error, something about secure gateway.

AdHoc Support & Internet Pass Through

Ok, I know someone will tell me this thread doesn't belong to the dev section, but it does.
THIS IS NOT ABOUT WIFI TETHERING - READ CAREFULLY!!!
There has been adhoc support in CM 7 for the G1 (Htc Dream) I used to own and it worked just fine with my laptop AdHoc connection.
There seems to be a problem with most AOSP and GB STOCK(ish) roms - including Darky and CM 7.1 Stable. They seem to detect the adhoc network when a modded wpa_supplicant is installed (in Darky it's installable by the Darky App and in CM it is included in the stock rom). When trying to connect there are two scenarios :
1. I don't specify IP address and Gateway and rely on the windows DHCP to assign an address.
What happens in most roms is the phone hangs on waiting for IP address and never connects. In MIUI roms the phone connects instantly, so I guess the issue is rom related.
2. I specify IP address (the laptop is 192.168.231.1, so I choose 192.168.231.2 for the phone, and the laptop IP for DNS and Gateway)
What happens in most roms is the phone just disconnects instantly giving no reason and continues scanning. I've actually managed to connect in some roms (CM 7.1 and Darky) but it happens to be very unstable - the wifi keeps on scanning for new networks and even if the phone is connected, there is no actual internet coming through. [EDIT] I flashed the latest CM Nightly and the connection worked flawlessly.
I have ran some logcats but they don't show significant information on what's actually happening.
My idea is to put some of the MIUI binaries into use, but I don't know which ones, except the wpa_supplicant are responsible for WIFI. Can some of you developers help me and possibly make an All-Types-Of-Roms solution.
[EDIT] The Adhoc Connection seems to beworking in latest CM Nightlies. There seems to be something different in AOSP roms like CM, that makes Adhoc connection work flawlessly. Any idea what is it?

[Q] Cisco VPN client IPsec Xauth

Hi
Didn't find any good solution on forum, so I am asking you guys if anybody have had successfully connected to corporate network using some kind of substitute of Cisco VPN client? I tried few solutions with tun.ko and vpnc widget but right after I typed my credentials my phone just rebooted, like every time
I hoped that after I flash to JJ's hibrid ROM maybe something will change, but it didn't.
Before that I had stock ICS installed from SE PC companion and the same reboot thing was occurring.
I have had tested this on GB but it doesn't have advanced routing and through GMS (because my operator have the same IP class as my private net) I was not able to route my traffic towards private network. vpnc worked fine but only on WiFi.
Cisco Anny Connect is not an option because it supports only SSL VPN.
Have you tried DroidVPN?
Sent from my LT15i using XDA
no.. but will give it a go
ed:
After granting su, gues what.. reboots :/
maybe other ideas?
sunekosuri said:
no.. but will give it a go
ed:
After granting su, gues what.. reboots :/
maybe other ideas?
Click to expand...
Click to collapse
I worked it in both ICS and GB, it worked perfectly!
Did you configure it?
Sent from my LT15i using XDA
yes, i configured it properly, all things were configured, maybe it's just because i use JJ's hybrid rom.. I don't know ;(
No JJ Rom shouldn't be a problem, but i think ICS may be the culprit as am using DroidVPN from GB
Sent from my LT15i using XDA
ohh shame.. why it is so hard to implement IPsec in unixbased os? ios have it, why android could not
I suggest to use some soft as follw:
Better Terminal Emulator Pro
VPN Connections
BusyBox 1.19.3
You can use BetterTerminalEmulatorPro to run vpnc script in command line mode.
It can output debug info.
# ./vpnc ./vpnc.config --script ./vpnc-script --debug 99
To which VPN software are you referring?
I have installed Terminal Emulator and I have BusyBox version mentioned by you.
Could you please be more specific in what should I do to run this up?
sunekosuri said:
ohh shame.. why it is so hard to implement IPsec in unixbased os? ios have it, why android could not
Click to expand...
Click to collapse
Well could you say how you implemented in iOS coz I have an iPad 3?
It is natively supported and if you have successfully connected from Mac OS X, then for sure it would work on iOS device.
If you are successfully using VPN in Mac OS X with a L2TP/IPSec configuration and you are using Password, RSA SecurID, or CRYPTOCard User Authentication methods, and Shared Secret key for Machine Authentication, then the same VPN configuration should work in iOS. In addition, if you are using a Shared Secret key or Certificate for Machine Authentication, it should work as well.
Click to expand...
Click to collapse
For proper configuration please refer to this link http://support.apple.com/kb/HT1424

[Q] Any working proxies?

I looked through all 4 pages of posts as well as the working apps list and thus far I have not found anyone who has gotten a proxy to work. Has anyone been able to use a VPN on the firetv? What about with xbmc on the firetv?
Thanks :good:
mcsephoenix said:
I looked through all 4 pages of posts as well as the working apps list and thus far I have not found anyone who has gotten a proxy to work. Has anyone been able to use a VPN on the firetv? What about with xbmc on the firetv?
Thanks :good:
Click to expand...
Click to collapse
can you list the VPN apps you have used? so im not repeating any
The only VPN I own is PIA which does not work. The rest I am just reading about. I did see a thread where droidvpn might work with tun.ko but I am trying to find out more about this method.
mcsephoenix said:
The only VPN I own is PIA which does not work. The rest I am just reading about. I did see a thread where droidvpn might work with tun.ko but I am trying to find out more about this method.
Click to expand...
Click to collapse
I'm making pretty good progress with PIA - I'm down to an issue with SSL verification. The core problem with newer guides is that the software assumes a device running Android 4.2 has access to the Google VPN API, which the FireTV does not.
I'm using the tools outlined in this guide
https://strongvpn.com/setup_android_open.shtml
which include an openvpn binary installer which I was surpised to see did work on the FTV (it didn't work on a cm11 device.)
I've added the Tun installer to the mix, so the process for me has been:
- have ADB available and working
- have a wifi keyboard available and working
- have Droidmote client able to access the system - there are times when it's super helpful to be able to yank down a menu
Setup and test openVPN - and get a known working config - on another device.
Root the FTV
Install Busybox (actually did that long ago)
Install "OpenVPN Installer" - this will get you the openvpn binary; you can confirm you have it by running openvpn in adb - if the openvpn binary isn't in your path, it'll error out otherwise it'll give you all the openvpn options.
Install the tun.ko installer from droidvpn
Install the "Open VPN Settings" app - this was very important for me, as with more recent openvpn installers, I was not able to import / export config files.
Import a working openvpn config file into openVPN settings (default path is /sdcard/openvpn/
Attempt to connect, fail, long press on the failing connection in order to
- enable logging
- make config changes on the fly
I currently have the PIA cert inline in my openvpn config and am pointing the config to their CRL file.
Most of the config seems to work; the remaining issue is in the TLS handshakes.
There are two rounds of verification, depth 0 and depth 1 - and one is failing. I forget which one just now.
Editing and testing the ovpn config in a gui and then reexporting us super helpful - looking over the guide at
https://www.privateinternetaccess.c...iguration-on-android-instead-of-pptp-ipsec/p1
gives a good walkthrough on the basics.
The openvpn binary installed for use on the ftv does not support all the options that the config generated there supports, though, which is why looking at the logs and editing the configs on the fly is so helpful.
mcsephoenix said:
The only VPN I own is PIA which does not work. The rest I am just reading about. I did see a thread where droidvpn might work with tun.ko but I am trying to find out more about this method.
Click to expand...
Click to collapse
Use Hola, it requires a mouse
http://forum.xda-developers.com/fire-tv/help/mlb-blackout-restriction-dns-unblock-t2825086
Post #9

FireStick not using connected VPN

I am currently rooted with SuperSu & BusyBox installed. After some tweaks I was able to finally get the OpenVPN app to connect but, it doesn't look like KODI is using the VPN IP. Is anyone familiar with this & have a solution?

Categories

Resources