weblink
weblink allows you to use any device with a web browser as a proxy server. Simply start weblink and connect your device to it.
Installation
-
Install Ruby
-
Windows. You have two options:
A. Go to rubyinstaller.org, download ruby+devkit version 2.5 or higher, and install it.
B. Alternatively, use the Windows Package Manager CLI:
winget install RubyInstallerTeam.Ruby
-
macOS. Ruby is already pre-installed.
-
Linux. You've got this.
Open Command Prompt or Terminal and follow the instructions bellow.
-
-
Install weblink
gem install weblink
-
Start weblink
weblink
-
It will output a URL that you need to open on the device you want to use as a proxy. Make sure that your firewall is not blocking incoming connections.
Your web browser will be used as a proxy, so it must be running all the time. Once you connect your device to weblink, it will start a local HTTPS proxy server listening on port 3128, and you will need to route all traffic through that proxy.
-
Now weblink is ready. Change the proxy settings in your browser:
proxy type HTTPS
proxy host 127.0.0.1
proxy port 3128
It's highly recommended to let the proxy resolve domain names.
To test it, you can run:
curl -px http://127.0.0.1:3128 https://www.google.com/
Development
Pull requests are welcome!
Execute ./test
to run tests.