Jump to content











Photo

Bypassing proxy authentication by creating Wi-Fi hotspot


  • Please log in to reply
7 replies to this topic

#1 Holmes.Sherlock

Holmes.Sherlock

    Gold Member

  • Team Reboot
  • 1444 posts
  • Location:Santa Barbara, California
  •  
    United States

Posted 03 January 2014 - 08:45 AM

One of the limitation of non-rooted Android devices is not being able to handle network proxy in non HTTP aware (basically web browser) applications. As an example, there is an option to set Wi-Fi proxy address and port in Network Settings. Browsers do respect such proxies.However, other apps, e.g. WhatsApp, GMail, Play Store; are completely unaware of network proxies. Hence, it imposes a severe limitation.

 

I am behind my university proxy using basic authentication. I use an Wi-Fi router to connect to their network. To remediate, I thought of creating another Wi-Fi hotspot using Virtual Wifi Hotspot or something similar. But there should be some mechanism so that connecting to this hotspot need NOT require a proxy setting. To elaborate, apps connecting to this hotspot must be completely unaware of proxy through which traffic is being routed. Does anybody have any idea on implementing this?



#2 dog

dog

    Frequent Member

  • Expert
  • 236 posts

Posted 03 January 2014 - 02:29 PM

Talk to your university IT people? Maybe they offer a vpn service.



#3 Zoso

Zoso

    Silver Member

  • Advanced user
  • 640 posts
  •  
    Isle of Man

Posted 21 February 2014 - 02:19 AM

hi Holmes.Sherlock,

very interesting to me! I dont have an answer for you though. maybe a wifi router running DD-WRT or OpenWRT will work for you somehow.

there is an app called Orbot that claims to do what you want (I think?) but it utilizes the TOR network but if it can do this then there must be a way to do it without TOR.

please let us know what you find out about this!

#4 florin91

florin91

    Frequent Member

  • Team Reboot
  • 197 posts
  •  
    European Union

Posted 25 February 2014 - 09:14 PM

One of the limitation of non-rooted Android devices is not being able to handle network proxy ...

 

So, this problem does not occur in rooted ones? Linux and / or possibly android might deal this with iptables routings.

 

But wait ... can't you root it ?



#5 Holmes.Sherlock

Holmes.Sherlock

    Gold Member

  • Team Reboot
  • 1444 posts
  • Location:Santa Barbara, California
  •  
    United States

Posted 26 February 2014 - 10:41 AM

So, this problem does not occur in rooted ones? Linux and / or possibly android might deal this with iptables routings.

 

On a root-ed device, one can use SandroProxy or Proxydroid

 

But wait ... can't you root it ?

 

root-ing is not an official solution, the ROM images are developed by third parties. It voids the warranty and breaches T&C, too.



#6 Amitabh

Amitabh
  • Members
  • 1 posts
  •  
    India

Posted 01 March 2014 - 05:59 PM

I used to run CNTLM on my office laptop - which is connected to the network (either Ethernet if on my desk or WiFi if in conf rooms or elsewhere),

 

Then my other devices (phone, tablet, personal linux laptop) which need internet access would go through CNTLM. 

 

Office proxy/port/login/pass/domain etc are written in the CNTLM config file. (there's an option to hash your domain pass before putting in config file) Use cntlm -M first to check which type of authentication will work (it will ask for your login/domain & password and output which option you have to put in the config file)

 

Even many apps on office laptop itself which were not able to do domain authentication properly can be given localhost:3128 (or any port you want) as proxy to enable them to work (like skype or messengers etc which didn't work through office proxy)

 

When I was using office WiFi (instead of ethernet) then I had to connect a USB Wifi Dongle or Express slot Wifi Card to create a hotsport or adhoc. But now many laptop wifi chipsets support connecting to a wifi network while creating a hotspot too - see connectify or google for similar s/w

 

I no longer need to that now as I use an internal 3G card for personal internet access or phone as hotspot (since office proxy had anyway started restricting downloads of exe / iso / video / torrent as well as sites like sourceforge or software related sites)



#7 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 01 March 2014 - 10:47 PM

I have a Some what similar issue

My ISP is Blocking all incoming Ports on there servers

I tried using UPNP/NAT & port forwarding but i can only get a server to The Metropolitan Aria Connection

 

The Only Option For Me to Serve a host Is to request a Static IP then my UPNP/NAT will work

Or a Costly VPN



#8 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 01 March 2014 - 11:24 PM

Try

http://www.devinelop...d-without-root/

 

or Try cyanogenmod.

http://www.cyanogenmod.org/

It gave my Phone a Samsung GT-S5830 a New Life

Im Now Running Android 4.2.2 With Superuser and busyBox

 

 

Edit: Fuuuk Da Warranty!!

A friend Failed To root His HTC and Got a New Phone!!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users