[Q] Is it possible to host a proxy on your android device? - Android Q&A, Help & Troubleshooting

Hi
Just wondering if anyone has been able to configure there android device to act as a proxy?
This may seem a silly request, but here in the UK, they have started filtering websites.
I now use my mobile to browse most of the times as the ISP Courts have not reached the Mobile providers.
So to avoid me going back and forth between devices, am wondering if its possible to just host a proxy on my
Android device.
So when using Cellar data (Not on WIFI) i can use the proxy on my android, In my PC browser, to continue browsing without restrictions?
I have paid for the app Server Ultimate pro, But can i for the love of god, Configure it to work as a proxy would.
(Keep in mind, i have installed Squid and configured on a couple of VPS)

Related

How do I connect LG Vortex-VZ's Optimus One-to my company Wifi and use apps over it?

I have recently purchased an LG Vortex (from what I read is Verizon Wireless's Optimus One) that comes with the Android 2.2 operating system installed. I have looked into rooting my phone with z4root and have successfully temporarily rooted my phone. I would rather keep my phone unrooted, but if it is absolutely necessary I will root it permanently with z4root.
My question is this: How can I connect to my company wifi and use apps that require wifi?
I can successfully connect to my corporate wifi through the 802.1x EAP protocol. The problem comes when trying to access any of the apps that require internet (I am forcing Verizon's data plan not to be used--using wifi only due to 150MB limit on my data to save $$ per month). None of my apps seem to work--internet browser, Market, Gmail, Google Calendar, etc...
On my company pc I know that within internet explorer the box is checked that says "Use automatic configuration script" and gives an "Address" that is in the format of "..../proxy.pac" It looks like my work uses a proxy for things to connect to the internet. I have no such place to put this information in my LG Vortex. I downloaded an app that seemed promising called "Proxy Settings" which will allow me to enter in the following Hostname and Port. When I tried to enter the "..../proxy.pac" as the hostname it gave me an error stating "The hostname you typed is not valid."
Is there an app or something that will allow me to use my apps when connecting to my corporate wifi? Is it a proxy setting thing or a VPN thing? I am not sure. I am open to any and every idea so that I can use my phone's online features while connected to my company's wifi.
FYI - I have friends that have iPod touches and they are able to connect to the internet with some apps internet browsing and downloading apps, but they have a similar issue of not being able to use all of their apps as well. I believe they were able to put the "..../proxy.pac" address in their devices somewhere.
Thanks!
I am a new member on this forum but I decided to reply because I have a question and a possible solution for you:
-solution:try to download the *.pac file.You will see that it is probably a script that defines your actual proxy's ip.So you could try and figure out which is your actual proxy's ip.Then use this ip for the proxy-app. (However I am afraid that only browser will connect properly,not every app)
-and now the question:how did you manage to connect to the network?I have trouble connecting because the wifi settings menu doesn't seem to help.
I try to connect to a 802.1x EAP network and I have installed the required certificates but I don't know what to fill to username,password fiels.
--
lampros

Different options to avoid 3 Mobile UK tethering block.

Hi everyone,
I am trying to get my head around on what can be done to bypass the tethering filter on 3UK.
Below are different scenarios I have come up with and would like any volunteers who could try out any of the following for me. Of course I will be doing these myself as and when time permits but its always helpful to have others view on it too.
Please and I say please, do not turn this thread into Right and Wrongs of tethering or Terms and conditions of 3 mobile contracts. Please keep your views to yourself regarding if its lawful or unlawful or ethical or unethical or whatever you seem to come up with. I would like this to be a productive thread, instead of random comments on tethering.
Option 1: Use SSH Tunnel * Should I use SSH tunnel on my phone and use my PC to connect to it to use internet. Is there a reverse option?
Option 2: Use OpenVPN Install OpenVPN on your pc, and connect your phone to your pc using default VPN function on your phone in my case GT-I9100 comes with VPN function. You could also try to reverse this method and install OpenVPN on your phone and use your PC to connect to it. *
Option 3: Use the above two together in combination As the heading says, use SSH tunnel to connect to your OpenVPN.
Option 4: Use a proxy on your pc and connect to your phone or reverse, install proxy app on your phone and point your pc web browser to that proxy address. You could use the SSH tunnel here to connect too.
So, tools at hand are vpn with any encryption available, ssh tunnel, proxy server.
Tools to ignore - TOR (onion), garlic based TOR like, changing User Agent on web browsers or paid VPN.
3 UK has two APN settings, three.co.uk for mobiles (NATd ip address) and 3internet (dongle users) has external IP address and I believe it’s an Open NAT or no NAT.
Please feel free to mix and match any options and also share your views on what is technically possible.
I hope to see something useful and learn a bit more. Even if we fail to achieve the desired results, it will still be enlightening to find the facts on how 3 detects tethering.
I
Code encode decode
Found on giff gaff forum useful info
Well, they have a few ways..TTL: In my opinion, the most likely telltale signal of tethering. For example, *iOS packets originate with a TTL of 64, so if they see anything else they know something is up. This is very easy to check, as the TTL is checked by each router as the packet is handled. (the address on the envelope - doesn't require opening the letter, to use an analog analogy)APN: Another possible sign of tethering is data being routed over the access point set up for the built-in tethering feature. But giffgaff does NOT have a separate APN for Tethering. Again, this is easy to check without deep packet inspection.User-agent: This is where carriers would need to get heavy-duty equipment and a willingness to be invasive to detect tethering. Your browser sends information about itself to remote web servers, and this information could be checked. I do not think giffgaff is doing this (to detect tethering at least,) as it is not proof of tethering since anyone can easily use another browser on your phone that reports a different User Agent.Web Sites Visited: Again, highly invasive, though it doesn't require DPI. If you're using the DNS servers of the carrier, they could look for requests for certain domain names like windowsupdate.com etc. This wouldn't be proof either, though.I would bet that they are using TTL. So tunneling the TCP/IP packets that way probably resets the TTL to the default of the WAN interface on the phone.
Code encode decode
Why do you have to make 2 threads for the same subject?
Well I wasn't sure at the time of writing first one if I had to go down the route of testing which the second one is for. So, the first one is literally to know if its happening to new contracts only and second is for testing different scenarios and finding how.
Hope this helps and if not then jog on.
Code encode decode
Invincible29 said:
Hope this helps and if not then jog on.
Click to expand...
Click to collapse
Less of the attitude please and more of the reading of forum rules. Stick to one thread for the same thing.
Thread closed, use the other one (it was created first).

[Q] Using Tethered LTE connection to host Services?

I have a grandfathered Unlimited Verizon Data Plan that my company is paying me to have. I do not like Verizon, and am out of contract, so I recently purchased a Nexus 5 and plan on paying monthly with Ting. I have to maintain a "company phone" but using Google Voice, and importing all my accounts, it is really trivial that I would be using the Nexus 5 on a different carrier, since they only subsidize their employees, the device does not actually belong to them.
Instead of leaving my GS3 in a shoe box somewhere or selling it, I wanted to try using it as a dedicated hotspot for my apartment since I live in an area that has capped data from ISP's and no real solution (read FIOS) yet.
I purchased a Netgear Wireless Bridge Adapter WNCE2001 and set it up to connect to the phone's wifi hotspot and plugged that into the WAN "internet" port of my router running Tomato 1.28 firmware.
All seemed ok as far as ability to surf the web, use netflix from my TV, etc however there was a huge problem with some of the things I host from my internal network, such as media servers Subsonic, and Plex.
I am not able to access anything hosted on my internal network from any external network, even though I have not touched or altered my configurations - just replaced the WAN / "internet" port of my router with the tethered data connection.
After days of research and reading I have attempted a few fixes, although none have truly worked so far:
1) I tried connecting the phone to an open VPN server and then routing that traffic through the built in wifi tethering . This indeed worked - I followed some threads linked below, and was able to verify that now everything on my network was using the Open VPN connection - however I could not figure out a way to forward the ports appropriately and access Subsonic or Plex from the outside world.
http://forum.xda-developers.com/showthread.php?t=1993689
http://forum.xda-developers.com/showthread.php?t=2317841
2) I attempted using SSH tunnel from a remote Linux Server and although I could verify tha the tunnel was getting data piped through, I could not actually access Subsonic or PLex from the outside world. I tried to use tsocks to force all traffic for each service to use an established SSH tunnel but did not have much success.
It is important to note that these methods were tested on a shared server of a friend of mines, as far as I know they do not have root access and can not alter the open VPN or Open SSH configs or manually open ports on the server side. I wanted to just test it out to verify that it could work because I do not have a dedi or vps at the moment, I would consider getting something small from digital ocean or Amazon EC2 if this could actually work.
3) Lastly, I tried to use this port forwarding app, which as far as I can tell did absolutely nothing
Any help or direction is much appreciated, at this point I am more frustrated because after hours of reading and trying things out I feel as though I am now even more confused as to why this isn't / can't / could be working?!?!
Another thread I found here that seems like maybe it could be similar is the ability of getting NAT free with XBL using tethered data. I dont play video games, but I am wondering if something similar could be done using a crossover cable to allow for opening up ports through the wireless ISP as well? The older computer I use to host my media stuff from is running Ubuntu, and I have a Macbook Laptop, I only run Win7/8 in VM's on occasion - ideally though I want to find a solution that only uses the Linux Laptop, the phone, and the router - I can't leave my laptop home.
TLDR;
Halp! :silly:
[old desktop]- - - - ->{ROUTER]- - - - - >[WIFI ADAPTER]- - - ->[TETHERED GS3]- - - >[VZW]- - -> INTERNETS :good:
How to I send media servers from one side to the other and avoid all the NATing and dynamic IP's ? :victory:
I use versavpn with verizon and connect with openvpn. They give 3 ports to forword and dedicated ip. You chose the ports u want to forward on there web site. I have plex and remote desktop and a ftp server running on my unlimited data Verizon plan 300 gigs used a month for 3 years now. This has worked OK for me. I also ditched the tethered phone and went for a 4glte router instead much less hassle.
Sent from my LG-VS980 using XDA-Developers mobile app

[Q] Using http proxy over VPN connection?

Hello
I need to connect to my companies network using the Cisco AnyConnect VPN client. At the same time, I also need to use my companies web proxy, when I wish to access the internet and even some internal sites.
Would anyone know, how this can be configured on rooted Nexus 5 or 7 devices (with OmniRom) and on a Note 3 with stock rom, all using Android 4.4.4?
I do know that I can set a http proxy in the Wi-Fi connection settings and also for the mobile data connection. But this does not seem to have an effect, when I connect to the VPN.
Well…? Any ideas how to set this up? Would be quite a blast - company is actually considering buying iPhone 6 Plus… :crying: For rather obvious reasons, that's not my preferred solution
Thanks a lot,
Alexander

vpn server on android mobile

hello lads, I am interested in making Android application that can be use as VPN server, any tips where I can start from ? Is it possible ? I have not see any good topic about this in net
I just wonder why you consider an Android app as a VPN server.
Is it just a portal for a specific LAN? Or do you need a general VPN server for encrypted internet connections?
Even if you can implement basic functions of this VPN server, don't you worry about its concurrent & load capacity as a 'server'? ......
Its definitely possible but you'll have to likely root the phone first.
I turned a rooted Android phone into a VPN server by using the Linux Deploy app and UNIX tools "busy box app" then running CentOS on Linux Deploy. I installed SoftEther VPN Server on CentOS through SSH on the phone.
I wrote about it in a forum. If you google "Turn a flashed to verizon phone into vpn server" it will come up in Aspkin forum and you can see me work through it.
This way is 100% free and SoftEther will tunnel straight through a firewall using port 443 unlike any paid app so you can leave the phone hidden anywhere connected to WiFi and as long as you use SoftEther Client and the DNS host name to connect to the server. It wont work if you use a openVPN or L2TP/IPsec client without opening ports on the router of the wifi connection, or the server IP address (which would be a local ip if connected to wifi hidden somewhere).
Click to expand...
Click to collapse
James_Watson said:
I just wonder why you consider an Android app as a VPN server.
Is it just a portal for a specific LAN? Or do you need a general VPN server for encrypted internet connections?
Even if you can implement basic functions of this VPN server, don't you worry about its concurrent & load capacity as a 'server'? ......
Click to expand...
Click to collapse
Thank you for your reply. I just want to make a VPN server that uses a mobile network and accepts connection from 1 device(concurrent or load capacity or encryption does not matter). It is a small part of my application and not for commercial use. so, everything is possible, to root a device or another way to do my goal.

Categories

Resources