Host a Decentralized Private Proxy Server

This article is short and sweet - it shows how you can use Diode to host a decentralized private proxy server.

Here is a 32s video demonstrating how to set this up.

This can have the following benefits:

This article assumes you are using Linux, but it will pretty much work the same way for all supported OSes.

#Proxy Server Instructions

  1. Download and install the Diode CLI from https://diode.io/download
  2. Run the Diode CLI as a proxy exit node by invoking it from a terminal as:

diode publish -public 1080:1080 -socksd

This will print out something like:

The “Client Address” is your proxy server’s decentralized address - you will need to direct all the proxy client connections to that address. Let’s pretend this example’s Client Address is 0x6900000000000000000000079

  1. Make it persistent on your system by adding the Diode command to systemd (assuming Linux)

You can follow the instructions here. Modify the ExecStart line to ExecStart=/home/pi/opt/diode/diode publish -public 1080:1080 -socksd

Some people find it handy to force-restart the service every day by adding the line RuntimeMaxSec=86400

#Proxy Client Instructions

  1. Download and install the Diode CLI from https://diode.io/download
  2. Run the Diode CLI as a proxy client by binding its localhost port 1080 to your proxy server’s Client Address from a terminal as:
    diode -bind 1080:0x6900000000000000000000079:1080

Now you have a secure proxy connection from your client device to your proxy server!

  1. Use it by setting up your system, a browser, or other application to connect to a Socks5 proxy on localhost:1080