Configure I2P Out Proxy
- Tutorial

Good afternoon, dear habrayuzery.
Today I suggest that you discuss the creation of a single proxy server capable of blizzard, heat and blocking, remain not adherent and sacredly observe the principles of freedom of information, unity and world peace. Yes, yes, I will talk about i2p again, but from the perspective of server settings.
Imagine that there is a good Samaritan abroad who constantly has an i2p router and he is ready to bring joy to people by creating us proxy.antizapret.i2p
This article was written by torna and asked to be published, so I ask you to forward all the pluses to him.
Surprisingly, creating a tunnel of this kind turned out to be elementary. For this we need:
- squid - proxy server
- i2p router
Add
acl block_ip dst 93.158.134.198
to squid.conf if we want to get to this ip we use a proxy (you can create a separate file where the whole list of banned addresses will be) http_access allow block_ip # allow only the necessary ip addresses http_access deny all # forbid everyone else http_port 3128 # Sets the port for the i2p router. We
load i2p and begin the configuration of the tunnel:
- on the page http://127.0.0.1:7657/i2ptunnel/wizard select the server tunnel
- tunnel type standard
- Description and title at your discretion
- Address: 127.0.0.1
- Port: 3128
- Autostart check
Now the proxy server broadcasting in i2p will create a address of a similar type zrucncbt6qlocnzqobb7nddtp2kexwlkfabgvqlhizxcnp4qdv6q.b32.i2p in a couple of minutes b32. To give the links a readable format, you need to make it in the address book and wait a week until most routers make changes on the network. After that, you can start advertising your proxy.
User preferences.
In order for the user to be able to use the proxy server, it needs to be registered on the same page http://127.0.0.1:7657/i2ptunnel/wizard only this time select the client tunnel:
- HTTP Tunnel Type
- The name and description depends on the imagination.
- Tunnel Destination Address: zrucncbt6qlocnzqobb7nddtp2kexwlkfabgvqlhizxcnp4qdv6q.b32.i2p or name from address book
- Port: 3123
- If your computer is alone, select the network interface address starting with 127.0.0.1, if not 192.xx.xx.xx
- Autostart check
Since proxies and vpn will be prohibited in the near future, constantly encrypted traffic from a certain ip will look ridiculous, the traffic needs automation. Create a client pac file.
I looked at the sources of this .pac file at http://antizapret.prostovpn.org/ for which I thank the owner, I also hope that the owner of this resource will become a good Samaritan.
function FindProxyForURL(url, host) {
blockedarray = [
"93.158.134.198",
];
if (blockedarray.indexOf(dnsResolve(host)) != -1) {
return "PROXY 127.0.0.1:3123";
}
return "DIRECT";
}
PS. I apologize in advance for the comic style of the article, the topic is quite scrupulous from a legal point of view and sad at the same time. Thanks for attention.