To get p3pgroup to work you need a valid I2P router running, including a valid proxy. All of that is being set in the .env file.
You can download I2Pd from:
- https://i2pd.readthedocs.io/en/latest/user-guide/install/
- https://git.mrcyjanek.net/p3pch4t/flutter_i2p_bins-prebuild/
$ cat /etc/i2pd/i2pd.conf
tunnelsdir = /var/lib/i2pd/tunnels.d
# [...]
[httpproxy]
enabled = true
address = 127.0.0.1
port = 4567 # Different port to make sure that it doesn't conflict with apps running on default
$ cat /etc/i2pd/tunnels.conf.d/p3pgroup.conf
[p3pgroup]
type = http
host = 127.0.0.1
port = 3894
inport = 3894
gzip = false
signaturetype = 7
cryptotype = 0
enableuniquelocal = true
keys = p3pgroup.dat
ssl = false
First figure your local i2p address (PRIVATEINFO_ROOT_ENDPOINT
in .env)
$ printf "i2p://%s.b32.i2p\n" $(sudo head -c 391 /var/lib/i2pd/p3pgroup.dat | sha256sum | xxd -r -p | base32 | sed s/=//g | tr A-Z a-z)
i2p://smth.b32.i2p
PRIVATEINFO_ROOT_ENDPOINT=i2p://smth.b32.i2p
I2P_HTTP_PROXY=http://127.0.0.1:4567
LOCAL_SERVER_PORT=3894