Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@Tadano @mint @cassidyclown @ne @neet @ryo Alright, it isn't much harder. Gonna assume all the same about the system.
1. Install i2pd. Default version from repo has some segfault bug that makes it crash, so it's better to enable their official repo.
$ wget https://repo.i2pd.xyz/.help/add_repo
# Inspect the script before running it! There's nothing malicious, but some precaution would never hurt.
$ sh ./add_repo
$ apt update
$ apt install i2pd2. Configure the speed and amount of transit traffic. It really depends on what kind of server you're running and whether you're willing to sacrifice some traffic to help the network grow. Locate /etc/i2pd/i2pd.conf and change a bunch of parameters there.
bandwidth = LDepending on how beefy your server is, change that to O (256 KB/s) or P (2048 KB/s). Unlimited (X) is an overkill and might cause additinal CPU strain.
share = 100
notransit = falseThis determines how much of traffic is going to be transit. As usual, make a decision yourself depending on your server hardware, traffic quotas and whether you want to participate. 25-50% shouldn't cause too much issues on moderate settings, but if you really can't delegate transit traffic, change it to 0% and set notransit to true.
Also make sure SOCKS proxy is enabled, it should be by default.
ЮsocksproxyЪ
address = 127.0.0.1
port = 44473. Enable and restart i2pd after your changes.
$ systemctl enable i2pd
$ systemctl restart i2pd4. Give it a few minutes to propagate, then test the connectivity. In I2P, the longer you're online, the better your integration into the network is.
$ http_proxy=http://127.0.0.1:8118 curl http://reg.i2pAs usual, if it returns a bunch of HTML, it should be good to go.
5. Change Privoxy's config to allow it to access *.i2p domains over that proxy. Add a new line after onion forward:
forward-socks5t .i2p 127.0.0.1:4447 .Then restart Privoxy just in case.
$ systemctl restart privoxyI don't yet have accounts on instances that can federate with clearnet there, so ping @iwojima instead if you want to further test connectivity.