-
Notifications
You must be signed in to change notification settings - Fork 182
Try uProxy
This document describes an exercise to install and run uProxy on Chrome, and manually verify that it is working.
Create two Chrome profiles for testing named “uProxy Alice” and “uProxy Bob”:
See details on how to add users here: https://support.google.com/chrome/answer/2364824?hl=en
- Switch to the Alice, go to http://uproxy.org and press the “Install uProxy” button. In Chrome, the installation has two steps: the application and the extension.
- Repeat the process with Bob.
Alice will be sharing her internet access, and Bob will be consuming it.
With Alice:
- Start uProxy and click on the + button.
- Under “Choose a social network”, choose “uProxy”.
- Select the “Offer access” box and press “Generate link”. Copy that link.
With Bob:
- Open Alice’s link in a new window. That will launch the uProxy app.
- uProxy will ask you if you would like to add Alice to your contacts. Choose “yes”. Alice will show up in the application home, under the “Get Access” tab.
- Press “Accept Offer” under the Alice entry, and then press “Start Getting Access”. After a few seconds, if everything went well, Bob will see the message “Getting access from Alice” at the footer. Alice will see a message “Sharing access with Bob”. The uProxy extension icon also changes to indicate that the connection is established.
Try a few flows to interrupt and resume the connection
With Bob:
- On the “Get Access” tab, under Alice’s entry, press “Stop Getting Access”. The message at the footer will disappear. Alice will get a notification of the disconnection.
- Press “Start Getting Access” to restore the connection. After a few seconds, you will see the connection messages.
With Alice:
- On the “Share Access” tab, under Bob’s entry, press “Revoke Access”. Bob will receive a disconnection message.
- Press “Grant” to restore the access. After a few seconds, Bob’s connection will resume. You may need to press “Try Again” on Bob’s disconnection message.
Back to Alice, you will see Bob’s access under the “Share Access” tab, saying he is online and a button to revoke it. If you stop the connection with Bob, Alice will get a notification.
uProxy tells you when the connection is established or not, but you can also verify it outside uProxy.
- The url
chrome://net-internals/#proxy
shows whether you are using a proxy, and its address. With the uProxy connection established, go to that page with both Alice and Bob. You should see different settings. Bob should displaysocks5://127.0.0.1:<some_port>
as its proxy server, indicating communication through Socket Secure protocol with Alice. Alice should display her default proxy settings. - Disconnect uProxy. Alice’s page should remain unchanged, and Bob’s page should show the same as Alice’s (unless you’ve changed their original Chrome settings)
- With Bob connected to Alice, go to
chrome://net-internals/#http2
- When you open pages with Bob you’ll see new entries in the table, with a column indicating the proxy they are using. You should see a localhost 127.0.0.1 address there.
- If you disable the uProxy connection, you will get
direct://
as the proxy.
If you are able to run Alice in a different network than Bob (a different machine is not enough), then you can also check the uProxy connection by looking up Bob’s public IP address on Google: https://www.google.com/#q=my+ip. When connected, Bob’s public IP will be the same as Alice’s.