I2Pd as a server for the home network?

I2P router issues
Post Reply
User avatar
lgillis
Posts: 144
Joined: 20 Oct 2018 12:52

I2Pd as a server for the home network?

Post by lgillis »

Is it possible to access I2Pd with programs like MuWire, with the applications on different computers in the home network? A simple instruction manual for people like me who have assembled Ikea shelves before would be nice.

https://i2pd.readthedocs.io/en/latest/u ... iguration/
Spring https://www.youtube.com/playlist?list=PLF-q-IGQQb1uK7fYuaQiRpcORDSmfsY2n
zlatinb

Re: I2Pd as a server for the home network?

Post by zlatinb »

Specifically for MuWire you need to enable the "I2CP" interface in I2Pd. To do that, find your i2pd.conf file (usually in $HOME/.i2pd) and add the following lines to it:

Code: Select all

[i2cp]
enabled=true
address=0.0.0.0
port=7654
The "0.0.0.0" means bind to all addresses of the server. You may wish to replace that with the specific lan ip (usually 192.168.x.x).

Then if you are using the latest MuWire beta (which as of this writing is beta5) in the "I2P" tab of the options you can specify the ip and port of the external router I2CP interface. If you are not using a beta, open $HOME/.config/MuWire/i2p.properties and edit the following two lines:

Code: Select all

i2cp.tcp.host=lan.ip.of.the.server
i2cp.tcp.port=7654
Hope this helps.
User avatar
lgillis
Posts: 144
Joined: 20 Oct 2018 12:52

Re: I2Pd as a server for the home network?

Post by lgillis »

@zlatinb, Your description I can easily understand and it works with the beta versions of MuWire packed with ZIB. An addition to the update of I2Pd with "systemctl", a "reload" is passed without comment but the expected result could only be achieved with "restart".

With the other items in the configuration "i2pd.conf" it should then work the same, so any entry with "address = 127.0.0.1" will be set to the assigned IP address of the PC running I2Pd, and I2Pd will be accessible to everyone on the same network?
Spring https://www.youtube.com/playlist?list=PLF-q-IGQQb1uK7fYuaQiRpcORDSmfsY2n
zlatinb

Re: I2Pd as a server for the home network?

Post by zlatinb »

lgillis wrote: 13 Mar 2022 12:13 With the other items in the configuration "i2pd.conf" it should then work the same, so any entry with "address = 127.0.0.1" will be set to the assigned IP address of the PC running I2Pd, and I2Pd will be accessible to everyone on the same network?
I don't use i2pd much but I guess at least the web console (port 7070) can be made accessible that way.
User avatar
lgillis
Posts: 144
Joined: 20 Oct 2018 12:52

Re: I2Pd as a server for the home network?

Post by lgillis »

I have changed the open addresses altogether, with the exception of httpproxy, because the Internet ./. I2P access is mediated by another proxy. The web console is accessible via the local network and MuWire kindly notifies users when the connection is lost and automatically reconnects.
Spring https://www.youtube.com/playlist?list=PLF-q-IGQQb1uK7fYuaQiRpcORDSmfsY2n
Post Reply