[Q] Is VPN Possible on Stock Skyrocket ROM? - AT&T Samsung Galaxy S II Skyrocket SGH-I727

I'm interested in setting up VPN between my home computer and my Skyrocket. But before I go through the process, I wanted to ensure that VPN (and tun module) is available/possible in the stock Skyrocket kernel. The "OpenVPN Installer" and "OpenVPN Settings" android apps indicate that "tun" module must be available on the phone and this seems to be the case for NON-stock ROMs.
If VPN is available in stock rom, can anyone recommend a good walkthrough for setup?

The phone has built in vpn but it's. Very flawed. Most encrypted connections will die after a few min.
This is an android-wide problem and according to forum posts, has existed for years.
Sent from my SAMSUNG-SGH-I727 using xda premium

Does that include third party vpn solutions like openvpn? I was hoping to use vpn for tethering uses.

As long as openvpn supports pptp ipsec or l2tp then yes it will work.
Sent from my SAMSUNG-SGH-I727 using xda premium

After reading this thread, I'm not sure this is necessarily the case. There it is claimed that the required TUN/TAP driver for VPN on the Skyrocket isn't in the stock ROM:
http://forum.xda-developers.com/showthread.php?p=19963725#post19963725

The built in vpn solutions are fine, but rather complicated, and geared more towards those who use enterprise VPN solutions, like the Cisco VPN Concentrators and such.
If you want to use the built in vpn client, you can use raccoon (runs on linux, *bsd and a bunch of others) as the vpn server, but it is a total ***** to configure.. hell, it is a total ***** and a half.
One we start getting more custom kernels out, the developers will start to include the tun driver into the kernel, and we can use openvpn which is simple to setup.

Related

Android VPN - Calling all Android Gurus

So I've purchased a Huawei S7 and it's 99% perfect. The 1% is the lack of the VPN support. There is no VPN support in this build that I can find. I used Wifi Buddy, but I believe that just uses the same backend files as the normal Android builds.
I have a rooted Droid 2 with ClockWorkRecovery and Titanium Backup. Is there a way I can pull the files off of that and incorporate them in to the S7?
When I use the Wifi buddy, it will not connect, just says it had an error while connecting to the server. I ran a form of TCPDump on the router and it's not even attempting a connection. When I use my D2 on the same wifi, behind the same routers/firewall, it connects fine.
I've searched high and low but I'm not finding an app that will do the VPN that my router supports or it has the same issues as the Wifi buddy. It has to be PPTP or L2TP. OpenVPN is not a viable option.
Any opinions, suggestions, hacks, etc? The S7 is rooted as well.
I use a free app called "NeoRouter VPN Free Edition" from the marketplace on my S7, it requires that you run a client app on a PC or server on your network, which you can download from their website, and port forward from your router to that app, once you have done that it is GREAT and free, I use it to remote desktop over and it works perfectly.
Hope that helps
I guess I'll have to do that if all other options don't exist. I'm pretty sure it can be done. I'm hoping it's as simple as getting the FM Radio ported from the Droid X to the Droid 2. If that can be done, I'm sure the VPN matter can be resolved....I'm hoping.
I just went through my Titanium Backup app on my Droid 2 and found 'VPN Services 2.2' listed as something I can backup/restore. I really wish there was a functioning and stable recovery for this thing so I could throw that on, backup the system, boot, 'restore' these services and see if they work. Granted I'd be going from (for all intensive purposes) VPN Services and applying them to Android 2.1, but it's worth a shot I suppose. I just don't want to FUBAR the device without a way to revert.

Feature Request PPTP

Would one of the Dev's be willing to tackle getting VPN PPTP with encryption (mppe 128 or 256) working on the G-Tab? Right now it is either not working or working as unsecured PPTP (depending on the ROM). If anyone knows of a ROM where this is functional please let me know.
What little I have found on the history of VPN in android indicates that the last version with encrypted PPTP was version 1.6. Google was having problems keeping a connection to the VPN server.
Reference: http://code.google.com/p/android/issues/detail?id=4706
For myself and my coworkers this has become an important need. If we can't get the feature we may be forced to get iPads (*cringe*). I for one am willing to make donations to Dev(s) who can add this. Some ROMs have the option but seem to be lacking the module (unconfirmed) to handle encryption through the included PPPD.
It is possible this may come back in Android 3.0 since it is geared toward tablets but I haven't been able to find any information either way.
Thank you for your time.
Newanzer said:
Would one of the Dev's be willing to tackle getting VPN PPTP with encryption (mppe 128 or 256) working on the G-Tab? Right now it is either not working or working as unsecured PPTP (depending on the ROM). If anyone knows of a ROM where this is functional please let me know.
What little I have found on the history of VPN in android indicates that the last version with encrypted PPTP was version 1.6. Google was having problems keeping a connection to the VPN server.
Reference: http://code.google.com/p/android/issues/detail?id=4706
For myself and my coworkers this has become an important need. If we can't get the feature we may be forced to get iPads (*cringe*). I for one am willing to make donations to Dev(s) who can add this. Some ROMs have the option but seem to be lacking the module (unconfirmed) to handle encryption through the included PPPD.
It is possible this may come back in Android 3.0 since it is geared toward tablets but I haven't been able to find any information either way.
Thank you for your time.
Click to expand...
Click to collapse
Did you try one of clemsyn's latest kernels - they have the tun support. Also on market place there is an OpenVPN app that attempts to install an openvpn binary - that same dev also has an OpenVPN settings app that you can use to create your tunnel. Perhaps that will work for you.
prscott1 said:
Did you try one of clemsyn's latest kernels - they have the tun support. Also on market place there is an OpenVPN app that attempts to install an openvpn binary - that same dev also has an OpenVPN settings app that you can use to create your tunnel. Perhaps that will work for you.
Click to expand...
Click to collapse
I can currently get a VPN connection, but the server refuses it because it isn't encrypted - even with the encryption option on. I'll try clemsyn's kernel. I noticed he posted one specific to the ZTab ROM recently.
Newanzer said:
I can currently get a VPN connection, but the server refuses it because it isn't encrypted - even with the encryption option on. I'll try clemsyn's kernel. I noticed he posted one specific to the ZTab ROM recently.
Click to expand...
Click to collapse
PLEASE keep us updated. This is also essential to my job and I want to use android! GTab in particular.
jmdearras said:
PLEASE keep us updated. This is also essential to my job and I want to use android! GTab in particular.
Click to expand...
Click to collapse
No luck. Tried the new kernel and still get the same error. G-Tab shows connection lost. Server log shows same error (port 47 blocked or unable to negotiate encryption). Since our laptops all work I'm going to assume port 47 isn't blocked on our network. Maybe not enabled on G-Tab?
Which ROM are you using?
EDIT: nevermind - I see zpad rom. Did you try the vegan rom or tnt rom?
I am setting up a server with two cards and windows server 8 and an accesible ip just as test lab for this. If any dev wants access pm me.
Sent from my DROIDX using XDA App
Newanzer said:
Would one of the Dev's be willing to tackle getting VPN PPTP with encryption (mppe 128 or 256) working on the G-Tab? Right now it is either not working or working as unsecured PPTP (depending on the ROM). If anyone knows of a ROM where this is functional please let me know.
What little I have found on the history of VPN in android indicates that the last version with encrypted PPTP was version 1.6. Google was having problems keeping a connection to the VPN server.
Reference: http://code.google.com/p/android/issues/detail?id=4706
For myself and my coworkers this has become an important need. If we can't get the feature we may be forced to get iPads (*cringe*). I for one am willing to make donations to Dev(s) who can add this. Some ROMs have the option but seem to be lacking the module (unconfirmed) to handle encryption through the included PPPD.
It is possible this may come back in Android 3.0 since it is geared toward tablets but I haven't been able to find any information either way.
Thank you for your time.
Click to expand...
Click to collapse
Try this, I enabled everything re: PPP in this kernel including PPTP and also enable MPPE (Microsoft PPP Encryption). I hope this helps. BTW, this MPPE is experimental in the kernel but I hope it works for you.
clemsyn said:
Try this, I enabled everything re: PPP in this kernel including PPTP and also enable MPPE (Microsoft PPP Encryption). I hope this helps. BTW, this MPPE is experimental in the kernel but I hope it works for you.
Click to expand...
Click to collapse
Brillant! I have a connection! From home even. Many Thanks! (but I can only hit the button once...)
I'll keep an eye on it and see how long the connection lasts. That seemed to be the bug that killed Google's interest in this. With luck it wont show because someone tweaked over it.
I'll spread the word. Thanks again!!
Update: Unfortunately the data traffic stops within a minute. The connection stays up and reports a server connection just no data passes. This is the same issue as Google has in it's bug report. I"ll look at the server logs in the morning to see if anything is reported, but it is at least a step in the right direction.
BTW: The GUI seems a bit faster. Were there any other tweaks in that kernel?
Newanzer said:
Brillant! I have a connection! From home even. Many Thanks! (but I can only hit the button once...)
I'll keep an eye on it and see how long the connection lasts. That seemed to be the bug that killed Google's interest in this. With luck it wont show because someone tweaked over it.
I'll spread the word. Thanks again!!
Update: Unfortunately the data traffic stops within a minute. The connection stays up and reports a server connection just no data passes. This is the same issue as Google has in it's bug report. I"ll look at the server logs in the morning to see if anything is reported, but it is at least a step in the right direction.
BTW: The GUI seems a bit faster. Were there any other tweaks in that kernel?
Click to expand...
Click to collapse
There is a cryto sha 256 or 512. Lmk which to enable
clemsyn said:
Try this, I enabled everything re: PPP in this kernel including PPTP and also enable MPPE (Microsoft PPP Encryption). I hope this helps. BTW, this MPPE is experimental in the kernel but I hope it works for you.
Click to expand...
Click to collapse
This is awesome - and just what I was looking for! Any chance you could post the Vegan version as well? Thanks so much!
Hi Clemsy,
Thanks again for all the great work you're doing. If you could also do this for vegantab it would be greatly appreciated.
Cheers
Jonesie
How do I install this file?
Jonesie18 said:
Hi Clemsy,
Thanks again for all the great work you're doing. If you could also do this for vegantab it would be greatly appreciated.
Cheers
Jonesie
Click to expand...
Click to collapse
I might have to take a pause on this since I'm having issues with my Gtab at the moment. My screen turned white and I can't see a thing. I was playing angry birds and noticed that my screen sensitivity turned bad and a few seconds later it turned all white. I might have to get a replacement for my Gtab
I can build the kernel for Vegan tab but there is no way for me to test it but it should work fine
I read a post that doing this might fix it:
Add the following to /etc/pptpd.conf
mru 1280
mtu 1280
Please try and see how it goes.
More Info
I had our network admin look at the VPN server logs for my connection. No errors or warning from the server.
One interesting thing to note, it seems that when the data transfer between the tab and the VPN server stops it's only one way. I was able to send mail out from the tab, but not receive mail or view web pages. I'm wondering if the decryption side (incoming to tab) of MPPe is broken. That could explain why the server keeps a connection, but the data flow seems to stop.
Could we steel code from a linux kernel that works?
clemsyn said:
I read a post that doing this might fix it:
Add the following to /etc/pptpd.conf
mru 1280
mtu 1280
Please try and see how it goes.
Click to expand...
Click to collapse
I don't have a pptpd.conf in /etc. What is the file syntax? I'll make one and copy it in. I'm assuming this is ./etc and not ./system/etc.
Edit: Never mind found info here: http://www.linux.org.au/~quozl/pptp/pptpd.conf.5.html
Edit Edit: Ok I think I have reached the level of my ignorance. How do you get a file copied to /etc? I have tried a file manager with SU permissions, and a terminal with SU permissions. In both cases I am getting a permission denied error. What's the secret?
Newanzer said:
I don't have a pptpd.conf in /etc. What is the file syntax? I'll make one and copy it in. I'm assuming this is ./etc and not ./system/etc.
Edit: Never mind found info here: http://www.linux.org.au/~quozl/pptp/pptpd.conf.5.html
Edit Edit: Ok I think I have reached the level of my ignorance. How do you get a file copied to /etc? I have tried a file manager with SU permissions, and a terminal with SU permissions. In both cases I am getting a permission denied error. What's the secret?
Click to expand...
Click to collapse
Upload the file and ill make a zip file for you to flash it.
So close ... I think Google may need to work out a few of their bugs first.
First off a big thanks to clemsyn for the hard work. (I used Root Explorer to copy the file pptp.conf)
Using the latest kernel posted here for VeganTab I was able to connect to a MS PPTP VPN and ping for a long while however just like my Samsung Vibrant the VPN appears to die once a burst of traffic is shot through the tunnel. The tunnel I have discovered is not disconnected but unusable through the Android system. If I disconnect the VPN session remotely the log files indicate that the remote server killed the connection. Not sure much can be done as now I feel I am hampered by Google's inability to care for VPN access. I am sure the developers here can figure this out but why should they have to figure this out when it seems to be a fundamental issue with Google's code. Maybe this disconnection does not happen with OpenVPN? Anybody use it? I am tempted to setup a test OpenVPN server just to see how long I can keep my connection.
BTW ... After remotely killing the VPN connection the VPN services crashes and throws up an exception in the back ground when terminating the service.
Not working. I might try without the encryption in the server side to check if that works. It actually connects (pings) a couple of seconds with the LAN computers... then it nevers connects again... even with reboots. Does the pptpd.conf only need those two lines?
I found this site which may help
http://code.google.com/p/android/issues/detail?id=6402
A user stated this:
"Hey! Saw another post elswhere in the forum. For Microsoft VPN using PPTP, I think it helps to disable Software Compression in Routing and Remote Access Manager on the Windows server hosting VPN. After I did that, I was able to connect to VPN.
In Routing and Remote Access Manager, right click on the server in the tree and select Properties. Then, under the PPP tab, uncheck Software Compression. I am the Sys Admin at my Co, so I was able to do this myself. Others may have to submit a request to your respective Sys Admins. Besides, who uses compression on VPN's since the death of Dial-up?
Good Luck!"

[Q] L2TP VPN TnT Lite 4.2.2 + stock kernel

Folks,
Quick question and I apologize if this has already been answered elsewhere in this forum but a search didn't reveal anything. I'd like to configure VPN on my g-tab so I can get into work from home. Does the default kernel support VPN? If not, is there currently a compiled kernel that I can dl that'll support L2TP. If I install this kernel, can I access/configure the VPN with my currently installed ROM which is TnT Lite 4.2.2 or do I need to switch to another rom?
thanks!
Id like to know this as well if anyone can answer please.
Thanks, Rob
I've been struggling with this ever since I bought my tablet back in early DEC. I couldn't use my juniper VPN because it required a java client, but I've been trying numerous different combos of kernels and loads to see what would work for my Cisco L2TP VPN (with a shared secret). The winning combo that worked for me was:
VEGAn-TAB GingerEdition - Experimentals: verison 03082011.
Kernel - pershoot 2.6.32.31-cyanogenmod.
The VPN setting does not show up in the network settings, so I downloaded "5 VPN" from the android market. When you click "connect", it takes you to the VPN settings of the device. I created my LTP connection and BAMMMM! It works!

[Q] SSL VPN

Guys, what are you using to connect to VPN? I'm looking for a good client that I can use to connect to my job...
For argument's sake I'll assume you've rooted your TF (a requirement for using the TUN module which I think SSL VPNs need). [EDIT]: Didn't see your sig before, now I know you've rooted your TF . My VPN provider supports SSL connections via OpenVPN which I've used before on my phone without issues, but so far I've not been able to get it working on my TF with the PRIME! v1.5 ROM. Give it a try if your TF is rooted and see what happens.
See: http://forum.xda-developers.com/showthread.php?t=1125996
OpenVPN is SSL, it just be default uses a different port. 1193 from memory.
I can configure SSL VPN on my firewall and use OpenVPN to connect to it.
Requires that you have a working set of OpenVPN config files of course.

[Q] Need Kernel with IPTables/Netfilter support for Tipo

I am using Gimlo 0.2 ROM and ICS Vengeance kernel.
I tried using Proxydroid in my phone to run my college wifi connection (which has a proxy) in all aps.
It didnt run. a bit of googling told me that i need a kernel with IPTables support.
K()T! said:
I am using Gimlo 0.2 ROM and ICS Vengeance kernel.
I tried using Proxydroid in my phone to run my college wifi connection (which has a proxy) in all aps.
It didnt run. a bit of googling told me that i need a kernel with IPTables support.
Click to expand...
Click to collapse
I honestly think Tipo already supports IPTables, as I use Droidwall (sort of firewall-like app, where you can select which app can and which app cannot connect to 3g and/or wifi). That app also uses IPTables...
But that's all I know. Perhaps I'm wrong, perhaps the support gets added by the app itself. Although I'm still quite sure as IPTables are a native Linux functions, while Android (and actually, also iOs, Firefox OS, and many more) is based on.
^ Thanks.
I'll try the app again...
Maybe I'm doing something wrong......

Categories

Resources