Skip Navigation

HELP: Setting up I2Pd on Raspberry Pi 4

Hey folks! I just learned about I2P and already tested it successfully with I2Pd on my debian PC. But I want to support the network 24/7 so I need to set it up on my raspberry pi 4 and I plan to use it from LAN. So I installed it like described in the documentation for debian (https://docs.i2pd.website/en/latest/user-guide/install/#linux). I changed my config via sudo nano /etc/i2pd/i2pd.conf and edited some things like this:

 
[http]
enabled = true
address = 0.0.0.0
port = 7070

[httpproxy]
enabled = true
address = 0.0.0.0
port = 4444

and I restarted with sudo systemctl restart i2pd I am using the I2Pd-Firefox-Bundle and I changed the Firefox-settings (Settings -> Network Settings) to this: image (pointing to my raspberry pi) .i2p-Sites are working well so far, but I am not able to open the webconsole with this configuration. I try to open it with http://192.168.178.26:7070/ but I only get host mismatch. What am I doing wrong? Thanks in advance! ~sp3ctre Edit: A solution has been found with nginx: On the Pi:

 
sudo apt update
sudo apt install nginx

Followed by:

 
sudo nano /etc/nginx/sites-available/i2pd

Edit to:

 
server {
    listen 8080;
    server_name _;

    location / {
        proxy_pass http://127.0.0.1:7070/;
        proxy_set_header Host localhost;
    }
}

Enable the file:

 
sudo ln -s /etc/nginx/sites-available/i2pd /etc/nginx/sites-enabled/

Deleted the nginx-default-site

 
sudo rm /etc/nginx/sites-enabled/default

Comments