On the original 2.1 you could connect a VPN and still surf the internet. Now with Froyo you can't. I've searched high and low for a setting in the GUI and on the file system and can't find anything that would allow me to turn off use of the VPN connection as the default gateway. Since many Market apps, in particular my Xtralogic RDP client, often check to make sure they are registered this new VPN "feature" renders all of these apps useless to those who use them through VPN tunnels.
Does anyone know where the settings for VPN connections are stored? Are they human readable? I did find one file in /system/etc/ppp that looks like a standard debian-like interface script, if-up-vpn, but it looks to be binary. However I am using an L2TP connection and can't find anything anywhere. Worst case, is there a way i modify the routing table on the fly? I'm used to UNIX-like manageability using the usual netstat/iptables/ifconfig kind of thing, but Android is far from what I'm used to and doesn't seem to be easily manhandled. Hopefully there is someone around here who knows how to Ginsu this back to normal. Thanks in advance!
Running the Virtuous 2.3 rom with 2.15 radio.
-M
Related
Does anyone know of a ROM in which the PPTP VPN actually works? I've tried 6 or 7 different roms today and have yet to find one that works. Is this a Google issue, or something else? Surely some developer must have tested this function and can speak to whether or not the VPN works. I recall that in WINMO only a few roms had reliable VPN functionally, Mighty Mike and Silence come to mind. Just to be clear...here is what is generally happening; the VPN connects without a problem. The RAS server displays the connection and shows packets in and out. Some roms will not route one packet properly to the device. Others will appear to work great, pinging remote resources, but as soon as you try to do anything else, i.e. RDP, the connection crashes.
Thanks
I have 2 old PIX firewalls I can use, or I could could use OpenVPN inside WRT, or anything. I have nothing setup yet.
What's the easiest VPN for the EVO to hook to?
I'm running unrooted 2.2.
There is no PIX or OpenVPN support in Android. If you root and download "VPN Connections" you can connect to a PIX or OpenVPN server. I have connected to each. Make sure to read through the bug reports. The version I was using had a routing problem that had to be corrected in vpnc-script.
I've managed to get my evo to connect a winxp pro box set up as a pptp vpn server. but only if I disable encryption on the evo. which kind of defeats the purpose.
Basically, android VPN support is spotty at best. There is an epically long google code thread on the subject.
For the time being setting up an ssh server and using connectbot seems to the best way to securely access remote networks. It's far from perfect but it's the best solution I've seen.
Some people have reported vpn success using custom roms. But they are the exception. And setting up an ssh server is probably easier than tweaking a custom rom, IMHO.
This conversation is over my head, but Logmein Ignition owns my soul.
Thanks everyone.
I might have to root my EVO again(last one was rooted, but had to get a new EVO through warantee)
Say I download an apk from market.
There are times that I don't want it to access Web (so as not to download any ads and get over my monthly cap). Still i want it to have access to my 192.168.x.x home network.
Is there any way to do this (access only certain IPs per apk)? I'm using Linux and I don't even know how to do it there. So I dont know what to look as to get some ideas.
Probably an ad blocker will take care of downloading banners and such. There might be some apps on the lines of Droid Wall which might allow you to filter traffic. I've never used it.
If you are trying to access your LAN I'm assuming you are using your wireless connection and you might be able to filter traffic from you AP if it has the proper tools and APs usually do.
First of all thanks for the reply.
Ok, an ad-free script could be possible but how can one find out what IPs are being used from a specific apk?
As far as I know there is no log that logs the sockets that are open or even better have been opened...
P.S.: I know my apk pid. The issue is to find out which IPs it uses...
Use terminal emulator to issue "netstat -a" command. I really think that DroidWall could help.
DroidWall cuts all connections (say all wiFi connections)!!! And I don't want that. I want my apk to be able to connect to my home network but cut off all other connections. But only for the specified apk.
netstat -a doesn't say which application uses which port.
Thanks for the ideas. I have already tried those. Feel free to tell other ideas as well though.
I know how to do this in Windows and Linux, but not really sure how to go about it on Android...4.0.4 to be exact.
What I'm trying to accomplish is to have both active, with the 3G/4G handling internet-based activities and the Wifi handling local network access.
Why? Basically my home internet is horrible however I have some services/shares on my LAN that I want to access on my phone. And I can't switch between them, not an option. Because many times I'm wanting to take a picture from my file server (Accessed over Wifi) and then upload it to Flickr (Accessed over 3G/4G).
In Windows it's setting the gateway metric, and I would set the connection with the internet with the lower metric while the LAN-only connection gets a higher one.
I'm not aware of any way to do this on any Android - I would imagine it requires a heavily modded ROM.
You could of course tether a Windows or Linux computer on your network to the Android and implement gateway metrics from that end, in order to copy photos from the LAN server to the Internet via cellular.
cmstlist said:
I'm not aware of any way to do this on any Android - I would imagine it requires a heavily modded ROM.
You could of course tether a Windows or Linux computer on your network to the Android and implement gateway metrics from that end, in order to copy photos from the LAN server to the Internet via cellular.
Click to expand...
Click to collapse
I'm agreeing with him ^
|
Ask Cyanogen, if he could do such a thing, afterall, he has been hacking/modding Android since it's inital release. If anyone can help you, it's him... Sorry dude.
While I've never tried it, you might want to try setting up a DHCP reservation on your LAN that DOES NOT provide a gateway. This should allow Internet access using your egress connection while still allowing local LAN access-at least this is how it works for most computers that are multihomed.
This may not be a phone specific question, but I have new (currently unrooted) Pixel 3XL thus thought I would post here.
Without naming particular apps, I am trying to see if it is any longer possible to connect remotely to my home server(s) to be able to watch and stream various live tv programming. There used to be a modified app that was able to bypass the vpn options.
I have both OpenVPN and Shadowsocks Socks5 connnections created and working, and I can connect with either to my home network. However, it appears both of these still rely on making use of the Android VPN service, and I think that is why certain apps will not work over VPN?
I had thought Shadowsocks would not use the android VPN, but it appears to still does.
I have not tried anything else yet regarding SSH tunnel, etc., and open to any ideas if/how you may be able hide or mask your vpn connection from select apps on your phone.
Thanks,