Create an HTTP & HTTPS proxy with tinyproxy

I run a proxy inside a KVM machine that has access to the network I need. The KVM gateway IP is, so inside the VM, I write the following ~/.tinyproxy.conf:

Port 8899
Timeout 600

The proxy is available in most repos, on Debian, I wrote the following to install it:

# apt-get install tinyproxy

Then, I start it with (the -d puts it in the foreground, in debug mode):

$ tinyproxy -c .tinyproxy.conf -d

That's it. From my main machine, I can now use proxy:8899 as my HTTPS proxy, e.g.:

$ curl -x proxy:8899

Licensed under CC BY Creative Commons License ~ ✉ torstein.k.johansen @ gmail ~ 🐘 ~ 🐦 @torsteinkrause