
Good afternoon dear habrayuzyra.
Today, I propose that you discuss the creation of a single proxy server capable of being in a blizzard, heat and blocking to remain uneventful and faithfully observe the principles of freedom of information, unity and peace throughout the world. Yes, yes, we will talk again about i2p, but from the perspective of server settings.
Imagine that there is a good Samaritan abroad who constantly has an i2p router enabled and is ready to bring joy to people by creating us proxy.antizapret.i2p
This article is written by the user torna, he asked to publish, so please send all the advantages to him.
')
To the surprise of creating a tunnel of this kind turned out to be elementary. For this we need:
- squid - proxy server
- i2p router
Add to squid.conf
acl block_ip dst 93.158.134.198 # If a user wants to get on this ip, we use a proxy (you can create a separate file with the entire list of banned addresses)
http_access allow block_ip # allow only necessary ip addresses
http_access deny all # forbid everything else
http_port 3128 # Sets the port for the i2p router
We load i2p and start tuning the tunnel:
Now the proxy server broadcasting in i2p will create in a couple of minutes the b32 address of this type zrucncbt6qlocnzqobb7nddtp2kexwlkfabgvqlhizxcnp4qdv6q.b32.i2p. To give the links a readable format, you need to make it into the address book and wait a week until most routers make changes in the network. After that, you can begin to advertise your proxy.
Custom settings.
In order for a user to use a proxy server, he needs to register on the same page
http://127.0.0.1:7657/i2ptunnel/wizard only this time to select the client tunnel:
- HTTP tunnel type
- The name and description depends on the fantasy.
- Destination address of the tunnel: zrucncbt6qlocnzqobb7nddtp2kexwlkfabgvqlhizxcnp4qdv6q.b32.i2p or the name from the address book
- Port: 3123
- If your computer has one computer, choose the address of the network interface starting with 127.0.0.1, if not 192.xx.xx.xx
- Autorun put a tick
Since the proxy and vpn will be banned in the near future, constantly encrypted traffic from a specific ip will look ridiculous, traffic needs automation. Create a client pac file.
I spied on 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.