{"id":100,"date":"2012-05-03T21:45:01","date_gmt":"2012-05-03T21:45:01","guid":{"rendered":"http:\/\/blog.soton.ac.uk\/thenextbestthing\/?p=100"},"modified":"2012-05-11T14:27:51","modified_gmt":"2012-05-11T14:27:51","slug":"hosting-on-i2p","status":"publish","type":"post","link":"https:\/\/blog.soton.ac.uk\/thenextbestthing\/2012\/05\/03\/hosting-on-i2p\/","title":{"rendered":"Hosting on I2P"},"content":{"rendered":"<p>The default install of I2P comes with a Jetty web daemom, so starting up the eepsite is actually incredible easy. On the router console homepage, in the left hand bar there is a link to the I2PTunnel under the heading <strong>I2P Internals<\/strong>.<\/p>\n<p><a href=\"http:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-1-300x173.png\" alt=\"I2P Router Console\" width=\"300\" height=\"173\" class=\"aligncenter size-medium wp-image-127\" srcset=\"https:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-1-300x173.png 300w, https:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-1.png 792w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Once inside, in the <strong>I2P Server Tunnels<\/strong> section, you will see the default eepsite. Click the start button, and wait for it to start up. <\/p>\n<p><a href=\"http:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-2.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-2-300x197.jpg\" alt=\"\" width=\"300\" height=\"197\" class=\"aligncenter size-medium wp-image-128\" srcset=\"https:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-2-300x197.jpg 300w, https:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-2.jpg 811w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>On Windows, at this location: <strong>C:\\Program Files\\i2p\\eepsite<\/strong> is where you will find the <strong>index.html<\/strong> file of the eepsite. There are some redirect to help instructions in the file, once those are deleted things are good to go.<br \/>\n<br \/>\nOf course, the destination of the eepsite is on the local host and it will be difficult for other people to find because it doesn&#8217;t have a name and they don&#8217;t have your really long Base64 key. You could just tell people that really long key, but thankfully I2P has an address book and several easy ways to tell people about your eepsite.<br \/>\n<br \/>\nFirst, enter the new name of the eepsite on the eepsite i2ptunnel configuration page where it says &#8220;Website name&#8221;. This will replace the default &#8220;mysite.i2p&#8221;. <\/p>\n<p><a href=\"http:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-3.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-3-300x171.jpg\" alt=\"\" width=\"300\" height=\"171\" class=\"aligncenter size-medium wp-image-129\" srcset=\"https:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-3-300x171.jpg 300w, https:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-3.jpg 832w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Highlight the entire &#8220;Local destination&#8221; key on the eepsite i2ptunnel configuration page and copy it for later pasting. Make sure you get the whole thing &#8211; it&#8217;s over 500 characters and it must end in &#8220;AAAA&#8221;. Enter the name and paste in the destination key into your master address book. Click &#8220;Add&#8221; to add the destination to your address book.<\/p>\n<p><a href=\"http:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-4.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-4-300x222.jpg\" alt=\"\" width=\"300\" height=\"222\" class=\"aligncenter size-medium wp-image-130\" srcset=\"https:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-4-300x222.jpg 300w, https:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-4.jpg 723w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The final step is registering the eepsite in an address book hosted by i2p, which is part of the NetDB (explained in the about I2P post). Go to <strong>stats.i2p<\/strong>. Again, your key is the entire &#8220;Local destination&#8221; key on the eepsite i2ptunnel configuration page. After adding it, we can check to see if it reports the key was added. Since many routers periodically get address book updates from these sites, within several hours others will be able to find your website by simply typing <strong>3speech.i2p<\/strong> into their browser.<\/p>\n<p><a href=\"http:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-5.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-5-300x91.jpg\" alt=\"\" width=\"300\" height=\"91\" class=\"aligncenter size-medium wp-image-131\" srcset=\"https:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-5-300x91.jpg 300w, https:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-5-1024x313.jpg 1024w, https:\/\/blog.soton.ac.uk\/thenextbestthing\/files\/2012\/05\/I2P-5.jpg 1285w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>We also used this video to learn how to host an eepsite by creating a new HTTP server tunnel and to map it to a virtual host rather than use the default Jetty. We did not actually do this because we do not have an external server to use.<\/p>\n<p><iframe loading=\"lazy\" title=\"Hosting Hidden Services In I2P: eepSites and SSH\" src=\"https:\/\/player.vimeo.com\/video\/18860696?dnt=1&amp;app_id=122963\" width=\"500\" height=\"375\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture; clipboard-write\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The default install of I2P comes with a Jetty web daemom, so starting up the eepsite is actually incredible easy. On the router console homepage, in the left hand bar there is a link to the I2PTunnel under the heading I2P Internals. Once inside, in the I2P Server Tunnels section, you will see the default [&hellip;]<\/p>\n","protected":false},"author":240,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18626],"tags":[29626,29619,18630,29467,29468],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-technical-decisions","tag-configure","tag-hosting","tag-i2p","tag-network","tag-technical"],"_links":{"self":[{"href":"https:\/\/blog.soton.ac.uk\/thenextbestthing\/wp-json\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.soton.ac.uk\/thenextbestthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.soton.ac.uk\/thenextbestthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/thenextbestthing\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/thenextbestthing\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":11,"href":"https:\/\/blog.soton.ac.uk\/thenextbestthing\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"predecessor-version":[{"id":135,"href":"https:\/\/blog.soton.ac.uk\/thenextbestthing\/wp-json\/wp\/v2\/posts\/100\/revisions\/135"}],"wp:attachment":[{"href":"https:\/\/blog.soton.ac.uk\/thenextbestthing\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/thenextbestthing\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/thenextbestthing\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}