diff --git a/Migrating-hidden-services-from-Java-I2P.md b/Migrating-hidden-services-from-Java-I2P.md new file mode 100644 index 0000000..0e83553 --- /dev/null +++ b/Migrating-hidden-services-from-Java-I2P.md @@ -0,0 +1,24 @@ +If you run hidden service(s) with Java I2P and chose to switch to i2pd, this instruction is for you. + +Each I2P hidden service has a *Private key file* associated with it. Those files are located in Java I2P data directory, usually in `~/.i2p`. You'll need to copy those files to i2pd data directory `~/.i2pd` and add related entries to i2pd tunnel configuration file `~/.i2pd/tunnels.conf`. + +Look for *Private key file* in Java I2P tunnel webapp to know which files you'll need to move. + + +I.e. let's say your private key file from Java I2P is `~/.i2p/my-eepsite.dat` + +Copy `~/.i2p/my-eepsite.dat` to `~/.i2pd/` directory + +Add a new entry to `~/.i2pd/tunnels.conf` (create the file if it's not there). + + + [eepsite-on-i2pd] + type=http + host=127.0.0.1 + port=8080 + keys=my-eepsite.dat + + +This example is for HTTP server tunnel pointing at your website at 127.0.0.1:8080. + +[More info at tunnels.conf documentation](https://github.com/PurpleI2P/i2pd/wiki/tunnels.conf)