Home » » Usb Tunnel (connect PC internet to Mobile)

Usb Tunnel (connect PC internet to Mobile)

Written By Blog PageRank 2 on Friday, November 22, 2013 | 8:54 PM

This service creates an USB tunnel amongst the android and the Computer.
You require to install the windows component.
See http://www.codeproject.com/KB/android/UsbPortForwarding.aspx for details
With this remedy, you can surf on your mobile (using the world wide web connection on your Pc) by means of the USB tunnel AND a proxy.



The Android architecture does not allow to start communication from the Android to the host through the USB cable.The opposite is possible, employing the Google "Android Debug Bridge" (ADB in short).    
This tool will act as a tunnel amongst the Android client application and the host server. It is a software program implementation of a router performing IP port forwarding.

On the Host part, you have to declare the ports you want to be opened on the Android and the tunnel will transfer communications in between the android and the host. The host can be any server on the network or your neighborhood host. 


  • Allow "Usb debuging" on your Android : Go to parameters / Applications / Improvement and check  "Usb debuging" 
  • Set up "Usb Tunnel" on your Android (see donwnload link on top of the post) or from the market :
  • Screenshot - market.jpg

  • Install the host windows application (see download link on leading of the report) or this skydrive hyperlink or this GDoc hyperlink   
  • On the configuration panel, enter the path to the ADB plan. ADB is component of the Android SDK. The installation includes the minimum files needed.
  • Add tunnels. Each tunnel is composed of a name, an Android port (low port like 80 cannot be utilised), a host IP and a host port (can be different from the android port)  

HTTP proxy 

If Tethering is a technologies that allows you to use the mobile web connection on your PC, this tool gives you the opposite. It's a sort of Reverse Tethering.   
You can now surf on your mobile (utilizing the internet connection on your Computer) via the Usb tunnel and by way of a proxy. 
If you are on a business network, ask your administrator what IP adddress and port he is using for the proxy. In some situations it can be the default gateway (run ipconfig command at the DOS prompt to locate out what the default gateway is). 
If you are on a private network and you have no clue about the proxy adress and port, you can use a public proxy (do search for "Public proxy" on the internet). To help you out, here is hyperlink to a list of proxies. 
An additional possibility is to install a regional http proxy server like squid.  
Step 1 : configure the windows part. Given that low ports cannot be used, you should use a different high port for the android and another port for the host.  
Sample configuration for a company network : (192.168.xxx.xxx) on port 80 


Sample configuration for a public world wide web proxy on port 8080 
Step two : Connect he USB cable (of course).  Click the refresh button to display your device in the device list then click connect. The Android Usb tunnel service will begin in the background. A connection icon will be added on the notification pannel.  
Step three : Setup your browser to use a proxy. Based on the version of your Android OS, it's achievable to define a http proxy in the advanced wifi settings menu (Not tested, offered in some Android, but not all). 

Typical Chrome browser

  • I didn't uncover a way to get it operating. Forget about TransparentProxy, ProxyDroid or AsProxy. that require Root and never perform  

Opera mobile 

  • Enter opera:config in the address bar 
  • Expand the proxy line  
  • HTTP server : 127...1:8080  
  • HTTPS server : 127...1:8080  
  • Use HTTP : checked 
  • Use HTTPS : checked 
  • Click "Save" 

Firefox Mobile

  • Enter about:config in the address bar 
  • In the search filter (below address bar), enter "proxy"
  • Set network.proxy.http to 127...1 
  • Set network.proxy.http_port to 8080  
  • Set network.proxy.variety to 1 (Manual). Default is five (technique)  


  •  I did not discover a way to get it working. 

    Step 4 : Appreciate! enter any URL on your browser. Your firewall may possibly detect that AndroidTool.exe is attempting to access the net. Give him the rights to access the proxy. 
    In this screenshot, you can see the quantity of active connections , closed connections, total bytes transfered (to and from) 
    Title: Usb Tunnel (connect PC internet to Mobile)
    Rating: 910109 Votes
    Posted by: Admin Updated at: 8:54 PM


    Post a Comment

    Note: Only a member of this blog may post a comment.