Skip to content

Instantly share code, notes, and snippets.

@eylenburg
Last active May 9, 2025 19:08
Show Gist options
  • Save eylenburg/ecb6b1a5948c66b69e853218d43b3e34 to your computer and use it in GitHub Desktop.
Save eylenburg/ecb6b1a5948c66b69e853218d43b3e34 to your computer and use it in GitHub Desktop.
Accessing both .i2p and .onion websites in Tor Browser

This is an instruction how to configure Tor Browser to be able to access eepsites (.i2p) in addition to normal clearnet sites (through Tor) and .onion sites.

Step 1: Install Tor Browser and i2pd, start i2pd.

You may need to wait a bit as I2P needs time to find peers. It also needs to be running in background if you want to access .i2p websites.

Step 2: Start Tor Browser and go to about:config, then make the following changes:

network.proxy.no_proxies_on = *.i2p

extensions.torbutton.use_nontor_proxy = true

dom.security.https_only_mode = false

Step 3: Install and configure FoxyProxy extension.

Install Foxyproxy extension in Tor Browser.

Click on the extension button next to the URL bar, then on the Foxyproxy icon and select: "Proxy by Patterns"

image

Then click on the Option button in the bottom left which opens a new tab with the proxy settings.

Navigate to the Proxies tab. and enter:

  • Title: I2P
  • Hostname: 127.0.0.1
  • Type: HTTP
  • Port: 4444

Click on the "+" at the bottom next to "Proxy by Patterns" and in the box for "pattern" enter the pattern *.i2p/*, then click save. Leave the dropdowns as "include" and "Wildcard" (should be the default).

Finally, click "Save" at the bottom.

image

Test if everything works:

Try to navigate to these websites (all three are Privacyguides.org):

  1. Normal website on the clearnet

  2. I2P eepsite (.i2p)

  3. Tor hidden service (.onion)

Note that I2P URLs always need to start with "http" not "https".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment