📜 ⬆️ ⬇️

How to run i2pd for the first time: instruction under Debian / Ubuntu



I2p is a network with a specialization in the anonymity of internal network resources; this is how it differs from the tor network, the main task of which is not internal resources, but building secure access to the Internet. Knowing these two features, people can work much more efficiently in both networks.

In i2p you can do a lot of things: visit and create websites, forums and trading platforms, receive mail, chat and download torrents, and much, much more. The i2pd program can work with a large number of programs and services.

It should be remembered - the program helps you achieve anonymity, but the anonymity itself depends on you. From your actions taken in the network and beyond, the settings of the equipment used and work programs. This instruction will help you to configure i2pd and start working on the network.
')
Building i2pd under Debian / Ubuntu is very simple:
First you need to download several packages. Open a terminal and write:
sudo apt-get install build-essential

After that, download the library:
sudo apt-get install \
libboost-chrono-dev \
libboost-date-time-dev \
libboost-filesystem-dev \
libboost-program-options-dev \
libboost-regex-dev \
libboost-system-dev \
libboost-thread-dev \
libssl-dev

Install packages for working with git projects:
sudo apt-get install git

Install cmake:
sudo apt-get install cmake

Copy the fresh image from github (do not forget to put https: // in front of the link):
git clone github.com/PurpleI2P/i2pd.git

Go to the folder:
cd i2pd / build

Getting started:
cmake -DCMAKE_BUILD_TYPE = Release

In case of success:
make

And finally:
sudo make install

The program will be there, in the build folder (this is the i2pd file). You can transfer it wherever you want.
Run the file:
i2pd


If the lines ran across the screen, the program began to work. This window will remain open until the end of the session with I2P. You can now open a new tab to continue working with the terminal.

Open any browser you choose to work with i2p. My recommendation is Mozilla Firefox or any other gecko browser due to the flexibility of the working settings, however you can use the browser that you personally like.

Type in the browser the following address: 127.0.0.1 : 7070. At this address you will find a web console with online statistics.

In the console you will see different things, such as the address of the folder with the working files of the program. In the available release 2.3.0, the developers decided that this would be the following way: /home/ USERNAME/.i2pd/ For further settings, go to this folder.

In this folder we need two files. If they have not yet been created, please create them manually. The first file is the subscriptions file. It contains the addresses by which i2pd will update your list of sites with network-wide.

File name: subscriptions.txt

File contents:
inr.i2p / export / alive-hosts.txt
stats.i2p / cgi-bin / newhosts.txt
i2p-projekt.i2p / hosts.txt
i2host.i2p / cgi-bin / i2hostetag
no.i2p / export / alive-hosts.txt
rus.i2p / hosts.txt


The second file that we need is very interesting - this is a tunnel file. I2PD is a virtual router, literally, a box to which you can connect through many ports. So we can customize our programs and services on the computer to work with the programs and services of the network.

Each tunnel adheres to the same structure.

[IRC] is our name, we decide what will be written here.
type = client - by this we inform whether we will connect to the service within the network or vice versa, we are a service ourselves (and then the value will not be a client, but a server).
port = 666 - the port name on the router. Please note that the ports are assigned by you as the name, and can be any other, you can try to change them.
destination = irc.echelon.i2p is the name of the service with which we are going to interact.
keys = irc.dat - address with keys that are important to us for trusting work with the selected service. Sometimes you can use the same key file, for example, to work with the postman.i2p mail service (you will see how it is done below).

File Name:
tunnels.cfg


Content (as an example, we set up IRC chat on one of the servers on the network, as well as receiving and sending mail on one of the main mail resources):
[IRC]
type = client
port = 666
destination = irc.echelon.i2p
keys = irc.dat

[SMTP]
type = client
port = 515
destination = smtp.postman.i2p
keys = mail.dat

[POP3]
type = client
port = 616
destination = pop.postman.i2p
keys = mail.dat


You can also download both files in the archive at rghost.net/8QxX5gTf2 (the link will be working for 90 days from now). It is enough to unpack them in the directory found by us above. Make sure that the files have the same content as above, by opening them with any text editor or processor.

Save and configure both files. Please note: after changing these files, you will need to restart i2pd: until this is done, the changes will not reach their strength!

Return to the browser window. Change the proxy to http 127.0.0.1 and port 4444 (up to version 2.3 - 4446), which is very easy to do using the instructions for any browser (http://www.wikihow.com/change- settings- proxy-server), and boldly visit sites, we have specified two search network resources: epsilon.i2p and search.i2p.

# 1 Starting for the first time, i2pd will spend some time getting acquainted with various network nodes (quite possibly several hours) before it collects enough data for the sites to work (according to subscriptions.txt).

# 2 to ensure security i2p constantly paving different tunnels from you and to the resource you need. To build a tunnel takes some time, which may cause delays when opening sites. Therefore, if the site does not open, refresh the page several times.

# 3 Some sites keep the same people as you. Be condescending if the resource does not open! It is possible that the site being opened is not on a powerful server, but on the exact same computer as yours, and, possibly, is not always turned on!

You can find more networking instructions here: i2pd.readthedocs.org/en/latest .

It seems that everything is ready. So far there are not very many people using the network, so there are not so many resources either. The network is primarily built by those who want to make life better for free. The developers of i2pd are also completely free, among them there are a lot of people who speak Russian, you can communicate with them on the # i2pd-ru channel through your IRC program (we’ve already used the port for this with you). They do everything to make it easier for you to use i2p and hope that users will also help make the network more interesting and better. With you i2p will become richer, we are sure of it. Good luck with your i2p!

PS If you need a build for Windows, detailed instructions here: habrahabr.ru/post/275647

Source: https://habr.com/ru/post/275643/


All Articles