![Kali Linux:An Ethical Hacker's Cookbook(Second Edition)](https://wfqqreader-1252317822.image.myqcloud.com/cover/772/36698772/b_36698772.jpg)
上QQ阅读APP看书,第一时间看更新
How to do it...
- To install I2P, we need to first check whether apt-transport-https and curl are installed:
sudo apt-get install apt-transport-https curl
- Now we can install the tool using the following command:
apt install i2p
The following screenshot shows the output of the preceding command:
![](https://epubservercos.yuewen.com/E581D7/19470380608818806/epubprivate/OEBPS/Images/b968ce4f-822a-4914-8946-4a4bea2cc391.png?sign=1738754358-G4WvtFFth4JRvZuwHc9UeYtpCz4VHlt1-0-f0b87ab6dab0d0d70d17a58157bb15ce)
- When the installation is complete, we can run the service by using the following command:
i2prouter start
- We should not run it as root so we log in as another account and run the command as shown in the following screenshot:
![](https://epubservercos.yuewen.com/E581D7/19470380608818806/epubprivate/OEBPS/Images/504daba9-aaa7-4352-87e4-fd8015294393.png?sign=1738754358-0hhMoo5GYxXChPTH8ikyIdod1nK1vLNf-0-ab8063e8b10cb960909f0b6e8aaea71f)
- We will see that I2P service is up and running; now we add a proxy to our Firefox on port 4444:
![](https://epubservercos.yuewen.com/E581D7/19470380608818806/epubprivate/OEBPS/Images/34e67920-0071-43a7-bd29-e2f8a46fa449.png?sign=1738754358-H9lmxVoothwzN11pRS6B6CLFv55xFZmo-0-0a6aada8cfc033f45871505e745186d8)
- We can also access the I2P console at localhost 7657:
![](https://epubservercos.yuewen.com/E581D7/19470380608818806/epubprivate/OEBPS/Images/13c1eff8-e482-48fe-9e23-40f1f487aa35.png?sign=1738754358-n8Wdgo99GaA7TAbCkbAhgYSWI46gHvJy-0-f73a0e05cba65729baa27e3e9755f610)
And now a whole new world of I2P is open for us to explore.