Page 1 of 2

how to make and host an eepsite?

Posted: Thu May 01, 2025 1:02 am
by Sweetpotato
Hi, I need to know what it is necessary to be able to create, host locally and have my domain of an i2p site.

Re: how to make and host an eepsite?

Posted: Thu May 01, 2025 6:03 pm
by lgillis
Hi Sweetpotato!

A long time ago, I made an appeal to technicians and opinion leaders to work together, because two fundamentally different areas need to be united here. But nobody listens to me here. The technicians continue to squat like spiders in their webs and hope that someone will find their way to them. But most of them give up after a while and leave as quietly as they came. The opinion leaders prefer to look for an environment where they are in better hands.

You obviously have no experience in website maintenance. Keep the following in mind. By publicly announcing your website, you are sending out an invitation to all the local arseholes who want to take you down just for fun. And they can do this because nobody can report them, because they are acting anonymously because you are giving them the means to do so.

But if you still really need to know, then let's get started. You're writing in general terms, so here's my general advice. Don't use your production system, but get a separate PC. Install the Java I2P Router, because it has the Jetty HTTPD server integrated. This allows you to create unchangeable web pages immediately. The help / instructions for getting started should be included. You can use it to practise and in many cases a well-designed page is better than a dynamic one without useful content.

Re: how to make and host an eepsite?

Posted: Thu May 01, 2025 6:33 pm
by provil
yup nice advice.

java i2p is the way to go.

i2p+ can also be used, I think simp & stormy cloud use i2p+ instead of java for their web-hosting. check out http://simp.i2p/ it might help you a bit with guides and tutorials on what you need.

also, for separate PC.

also, for heads-up reminder, that, you might have to figure out everything by your own self.

Re: how to make and host an eepsite?

Posted: Thu May 01, 2025 8:23 pm
by Sweetpotato
lgillis wrote: Thu May 01, 2025 6:03 pm Hi Sweetpotato!

A long time ago, I made an appeal to technicians and opinion leaders to work together, because two fundamentally different areas need to be united here. But nobody listens to me here. The technicians continue to squat like spiders in their webs and hope that someone will find their way to them. But most of them give up after a while and leave as quietly as they came. The opinion leaders prefer to look for an environment where they are in better hands.

You obviously have no experience in website maintenance. Keep the following in mind. By publicly announcing your website, you are sending out an invitation to all the local arseholes who want to take you down just for fun. And they can do this because nobody can report them, because they are acting anonymously because you are giving them the means to do so.

But if you still really need to know, then let's get started. You're writing in general terms, so here's my general advice. Don't use your production system, but get a separate PC. Install the Java I2P Router, because it has the Jetty HTTPD server integrated. This allows you to create unchangeable web pages immediately. The help / instructions for getting started should be included. You can use it to practise and in many cases a well-designed page is better than a dynamic one without useful content.
Thanks for the advice, maybe you have some accessibility problems, but I already know what I could start :)

Re: how to make and host an eepsite?

Posted: Thu May 01, 2025 8:34 pm
by anikey
If you want to get a human-readable domain (that is accessible for other users of i2p), you should register your website with one of the addressbook operators (such as stats.i2p, reg.i2p, inr.i2p. I was about to mention notbob.i2p, but I couldn't find the form to register a site, only a list of sites.).

If you do that, be careful to keep a backup of your site destination private key, as it might be difficult or impossible to overwrite your site registration in the public addressbooks in case you lose it.

For the hosting, you don't have to use the built-in Jetty, you can use any web server software you want. If i were setting up a site with an external server software, I'd isolate it as much as possible (so that it only has access to the files it serves and to the i2p router that forwards requests to it, but definitely not to the internet), for security reasons. (see utilities like bubblewrap for that)

Re: how to make and host an eepsite?

Posted: Thu May 01, 2025 8:41 pm
by Sweetpotato
anikey wrote: Thu May 01, 2025 8:34 pm If you want to get a human-readable domain (that is accessible for other users of i2p), you should register your website with one of the addressbook operators (such as stats.i2p, reg.i2p, inr.i2p. I was about to mention notbob.i2p, but I couldn't find the form to register a site, only a list of sites.).

If you do that, be careful to keep a backup of your site destination private key, as it might be difficult or impossible to overwrite it in the public addressbooks in case you lose it.

For the hosting, you don't have to use the built-in Jetty, you can use any web server software you want. If i were setting up a site with an external server software, I'd isolate it as much as possible (so that it only has access to the files it serves and to the i2p router that forwards requests to it, but definitely not to the internet), for security reasons. (see utilities like bubblewrap for that)
Thank you very much for the advice

Re: how to make and host an eepsite?

Posted: Fri May 02, 2025 7:37 am
by lgillis
anikey wrote: Thu May 01, 2025 8:34 pm you should register your website
I didn't mention that for good reason. Registration usually takes three days and only a fraction of those who take this second step before the first last that long. This can be easily tracked at this address: http://inr.i2p/latest/rss/
anikey wrote: Thu May 01, 2025 8:34 pm you can use any web server software you want. … I'd isolate it as much as possible
Demilitarized zone (localhost): 127.0.0.1
Webserver/CMS/Wiki/Forum configure address: 127.0.0.1
I2P Router host address: 127.0.0.1

The I2P router behaves in the opposite way to the normal setup. The private IP address becomes the public IP address. No developer takes this into account.

Re: how to make and host an eepsite?

Posted: Fri May 02, 2025 7:57 am
by COMiX
And with a little nginx customization, you no longer have to worry about the change between the b32 address and the domain name


##################
server {
listen 1234; ##I2P web server port
allow 127.0.0.1;
allow x.x.x.x/24; ##allow more local subnet
deny all;
server_name _;
server_name_in_redirect off;
port_in_redirect off; ## remove the port in url

location / {
proxy_set_header Accept-Encoding "";
proxy_pass http://X.X.X.X:6789; ## your web server
# these two lines here
proxy_http_version 1.1;
proxy_set_header Connection "";
sub_filter_types *;
sub_filter 'X.X.X.X:6789' '$host';
sub_filter_once off;
}
}
####################

Re: how to make and host an eepsite?

Posted: Fri May 02, 2025 7:55 pm
by cumlord
if you do use your own server (since jetty with java/i2p+ routers are cleaning this anyway) make sure to check the headers and do some hardening like others have mentioned. this could leak info like timezone and webserver version.

the scanner i and likely others run looks for these sorts of things and does basic vulnerability scan for common web apps. I will also attempt to flood it during a port scan briefly to look for rate limiting, if it doesn't get blocked it can be a giveaway that the router might be an i2pd router

for blogs idk's railroad is very good http://idk.i2p/railroad biggest site i know of that uses it is http://righttoprivacy.i2p

Re: how to make and host an eepsite?

Posted: Fri May 09, 2025 1:36 pm
by demopan