How to setup an Eepsite in most linux distros

An eepsite is a website in I2P, there are 2 main I2P clients (Java I2P and i2pd). So i’ll cover both programs here

nginx configuration

Implying you use nginx, you should use a configuration like this:

server {
    root /home/eepsite/www_data;
    # any of your custom configuration goes here

Now, explaining the not-so-normal things on the configuration:

i2pd configuration

  1. Create the ~/.i2pd/tunnels.conf file
  2. put these contents
type = http
host =
port = 8080
keys = website.dat
enableuniquelocal = false


Now start i2pd, you can get the b32 address of the site you just created with this command:

printf "%s.b32.i2p\n" $(head -c 391 website.dat|sha256sum|xxd -r -p | base32 |sed s/=//g | tr A-Z a-z)

(Or you can go to

That’s it!

Java I2P

Java I2P is better in my opinion because it is faster and it’s easier to create an eepiste then. By default Java ships with Jetty (A simple HTTP server that does it job very well). So you can just drop the files you want to serve in ~/.i2p/eepsite/docroot and they’ll be served once you start the first thing in (the one that points to, which is the jetty instance)

Jetty does it work pretty well, but you can obviously use nginx (or any other HTTP server, obviously). To do this just scroll to the bottom in and create an HTTP hidden service.

Enter whatever you want in the name. And in the description. You can set a website hostname if you want (foobar.i2p) and edit the private key file if you want.

Just enter whatever you need in the target section:

The target section mentioned above
The target section mentioned above

Then click save. click start and it should give you the b32 address. And if you gave it a host. a addresshelper.

That’s it!