I2P

I2P

To configure i2p on the server, install i2pd (less overhead than the java implementation) after adding the official i2p repo, as demonstrated in https://i2pd.readthedocs.io/en/latest/user-guide/install/

sudo apt update i2pd

Then configure your browser to proxy traffic through 127.0.0.1:4444

Set up qBittorrent to use i2p in Preferences>Connection. Enable i2p and optionally mixed mode if you want to download regular torrents as well.

Now set up an ssh tunnel:

ssh -fTNL 4444:127.0.0.1:4444 -L 7656:127.0.0.1:7656 username@server

The -f option makes the command run in the background. If you want to see its output, omit it.

Port 4444 is for html connections, 7656 is for torrents. To access the router console, you need to set up a tunnel for port 7070 as well.