qBittorrent¶
qBittorrent can be configured to torrent anonymously, some of these settings would most likely also work for any libtorrent based program.
Setup I2P Router i2pd.conf¶
bandwidth = <Apropriate band width value>
[sam]
enabled = true
## Address and ports service will listen on (default: 127.0.0.1:7656, udp: 7655)
address = 127.0.0.1
port = 7656
portudp = 7655
[addressbook]
## Default: reg.i2p at "mainline" I2P Network
defaulturl = http://shx5vqsw7usdaunyzr2qmes2fq37oumybpudrd4jjj4e4vk4uusa.b32.i2p/hosts.txt
## Optional subscriptions URLs, separated by comma
subscriptions = http://i2p-projekt.i2p/hosts.txt,http://notbob.i2p/hosts-all.txt,http://identiguy.i2p/hosts.txt,http://stats.i2p/cgi-bin/newhosts.txt,http://skank.i2p/hosts.txt,http://inr.i2p/export/alive-hosts.txt,http://isitup.i2p/hosts.txt
Setup qBittorrent¶
You would first need a qbittorent with a version >=4.6 & built /w libtorrent 2.0.x support.
Click on 'tools' in the top menubar then select options. Alternatively use the shortcut 'Alt+O' or press the cog icon.
In the 'Connection' tab go to the 'I2P(experimental)' section, click the checkbox to enable I2P, enter the IP your I2PD is listening on[Most likely 'localhost' if both programs are running on the same machine] & the SAM port you previously entered into the i2pd.conf file. Under the Proxy Server section select HTTP, enter your I2PD IP & your I2PD HTTP proxy port, the same one used in your browser. You should also select the options 'Perform hostname lookup via proxy' & 'Use proxy for bittorrent purposes'.
Head to the 'BitTorrent' tab & make sure in the 'Privacy' section 'Encryption mode' is set to 'Allow encryption', and 'Anonymous Mode' is enabled.
Scroll down & enable the section 'Automatically append these trackers to new downloads', then enter these I2P tracker:
http://tracker2.postman.i2p/announce.php
http://opentracker.dg2.i2p/a
http://opentracker.r4sas.i2p/announce
http://opentracker.simp.i2p/a
http://tracker.eeptorrent.i2p/a
http://opentracker.fattydove.i2p/a
http://opentracker-actix.i2p/announce
http://opentracker.bt.i2p/a
http://vern.i2p:6969/announce
http://atia.i2p/announce
http://sigmatracker.i2p/a
http://opentracker.skank.i2p/a
http://omitracker.i2p/announce
http://psa.i2p/a
http://tracker.nyaa2p.i2p/announce
Click on the 'Advanced' tab & edit the 'Network interface' & 'Optional IP address to bind to' options to point to your localhost interface & IP respectivly.
Scroll to the bottom of the 'Advanced' tab & change the I2P inbound & outbound settings to values you are comfortable with. You can read this documentation to decide based on your risk appetite.
Note that setting inbound or outbound tunnel lengths lower than 3 hops sacrifices anonymity for speed.