How to configure the latest Tor Browser to work with I2P

HowTos, FAQs, Tips & Tricks, & Guides
Post Reply
User avatar
twilight
Posts: 1
Joined: 26 May 2019 21:09

How to configure the latest Tor Browser to work with I2P

Post by twilight »

You can either configure the Tor Browser to work with just I2P (very easy) or you can configure the Tor Browser to work with both networks at the same time (a bit harder, requires Privoxy).

VERY EASY (Just I2P using Tor Browser):

- Start I2P (geti2p.net/en/download)
- Download and extract a fresh Tor Browser (torproject.org/download/)
- Open the new Tor Browser
- Enter the following within the address bar and press enter: about:addons
- Click "Disable" next to "TorLauncher" and "Torbutton"
- Click "Restart now" to see the red screen
- Enter the following within the address bar and press enter: about:preferences
- Scroll to the bottom and click "Settings" under "Network Proxy"
- Enter the following within the "HTTP Proxy" text input: 127.0.0.1
- Enter the following within the "Port" text input: 4444
- Click "Use this proxy server for all protocols"
- Enter the following within the address bar and press enter: about:config
- Click "I accept the risk!"
- Search for the following and set the value to "false": network.proxy.socks_remote_dns
- Search for the following and set the value to "false": javascript.enabled

A BIT HARDER (Both Tor and I2P using Tor Browser)

- Download and install Tor (Tor should default to port 9050) and Privoxy (Privoxy should default to 8118)
- Add the following line to the Privoxy configuration file (Include the ending period): forward-socks5 / localhost:9050 .
- Add the following line to the Privoxy configuration file: forward .i2p localhost:4444
- Restart Privoxy
- Start I2P
- Download and extract a fresh Tor Browser (torproject.org/download/)
- Open the new Tor Browser
- Enter the following within the address bar and press enter: about:addons
- Click "Disable" next to "TorLauncher" and "Torbutton"
- Click "Restart now" to see the red screen
- Enter the following within the address bar and press enter: about:preferences
- Scroll to the bottom and click "Settings" under "Network Proxy"
- Enter the following within the "HTTP Proxy" text input: 127.0.0.1
- Enter the following within the "Port" text input: 8118
- Click "Use this proxy server for all protocols"
- Enter the following within the address bar and press enter: about:config
- Click "I accept the risk!"
- Search for the following and set the value to "false": network.proxy.socks_remote_dns
- Search for the following and set the value to "false": javascript.enabled
jpv23ou4splo2yd7pqj23s7gyc746bmnubejevokt6nd4sckxdoa.b32.i2p
libertyimuhzl2kz.onion
BeaconLilt
Posts: 18
Joined: 05 Dec 2018 02:18

Re: How to configure the latest Tor Browser to work with I2P

Post by BeaconLilt »

Much Thanks/ This is very good.
youwin
Posts: 1
Joined: 18 Nov 2020 10:48

Re: How to configure the latest Tor Browser to work with I2P

Post by youwin »

As for TorBrowser 10.0.5, you can use the extension FoxyProxy to make i2p, onion and clearnet (through tor) all available. This is the settings I'm using:

Code: Select all

{
  "mode": "patterns",
  "de17y71605679758800": {
    "type": 1,
    "color": "#66cc66",
    "title": "I2P",
    "active": true,
    "address": "127.0.0.1",
    "port": 4444,
    "proxyDNS": false,
    "username": "",
    "password": "",
    "whitePatterns": [
      {
        "title": "I2P URLs (*.i2p)",
        "pattern": "**.i2p",
        "type": 1,
        "protocols": 2,
        "active": true
      }
    ],
    "blackPatterns": [],
    "pacURL": "",
    "index": 0
  },
  "is75lk1605679970900": {
    "type": 1,
    "color": "#66cc66",
    "title": "I2P",
    "active": true,
    "address": "127.0.0.1",
    "port": 4445,
    "proxyDNS": false,
    "username": "",
    "password": "",
    "whitePatterns": [
      {
        "title": "I2P URLs (*.i2p)",
        "pattern": "**.i2p",
        "type": 1,
        "protocols": 4,
        "active": true
      }
    ],
    "blackPatterns": [],
    "pacURL": "",
    "index": 1
  },
  "fo5g7a1605684623000": {
    "type": 5,
    "color": "#66cc66",
    "title": "Tor",
    "active": true,
    "whitePatterns": [
      {
        "title": "Any URLs (*)",
        "pattern": "*",
        "type": 1,
        "protocols": 1,
        "active": true
      }
    ],
    "blackPatterns": [],
    "pacURL": "",
    "index": 2
  },
  "logging": {
    "size": 100,
    "active": false
  },
  "browserVersion": "78.5.0",
  "foxyProxyVersion": "7.5.1",
  "foxyProxyEdition": "standard"
}
(save this code snippet as FoxyProxy.json and import it to FoxyProxy)

To make the network safer, you also need to block access from i2p websites to non-i2p websites and vice versa. Here are the uMatrix rules for it:

Code: Select all

* i2p * block
i2p * * block
i2p 1st-party * allow
i2p i2p * allow
and the uBlock Origin rules:

Code: Select all

* i2p * block
i2p * 3p block
i2p i2p * allow
I can't guarantee that the I2P network is well isolated from non-I2P network, so please take this recipe with caution! ;) Turn on FoxyProxy only when you need to visit i2p sites.
beerman68
Posts: 1
Joined: 28 Mar 2020 17:11

Re: How to configure the latest Tor Browser to work with I2P

Post by beerman68 »

how about:
https://addons.mozilla.org/en-US/firefo ... -browsing/
been using it for a looong time.
Post Reply