How do I create a Rasberry Pi for i2P and would it be safe?
From reddit, Reddit - The heart of the internet
Setting Up an I2P Router on a Raspberry Pi
How to set up I2Pd on a headless Raspberry Pi to act as a router for other devices on your network - I’m using an ancient Raspberry Pi 1B:
Install a headless Raspberry Pi OS image on an SD Card (only needs 2GB capacity for the full install)
Set up your Raspberry Pi to run in headless mode with a static IP address on your network
SSH to your Pi and install I2Pd following the instructions here
Make these changes to /var/lib/i2pd/i2pd.conf to make the router accessible from other devices on the network:
loglevel = none [http] address = 0.0.0.0 strictheaders = false [httpproxy] address = 0.0.0.0 [socksproxy] address = 0.0.0.0 [upnp] enabled = true5. Set I2Pd to always start on boot:
$ sudo systemctl enable i2pd.service6. Turn off the swap file to increase SD card life:
$ sudo systemctl disable dphys-swapfile.service7. Open the firewall on the Pi:
$ sudo apt install ufw [restart the Pi] $ sudo ufw allow 7070/tcp8. Browse to http://[your Pi’s IP address]:7070/ and you should get the i2pd webconsole (if you can’t connect, try running `curl http://localhost:7070/` on your Pi to confirm whether it’s an i2pd problem or a network problem)
9. Set up a browser on another device to use [your Pi’s IP address], port 4444 as an HTTP proxy (there’s a setting for this in Firefox)
This works for accessing .i2p sites. I just started running it, so I haven’t seen whether this configuration is optimal for long-term use.
Is step 4 safe? I plan to have I2P behind a VPN on other Rasberry Pi with 2 LAN ports and laptop will connect to other LAN.
I want to provide some of my bandwidth to I2P and want it randomly vary but also depend on laptop usage. If I am out, it can use all bandwidth. I am torrenting and in I want it to not use bandwidth or use less.