What we have: A virtual machine with Quagga, which is also a tor gateway with IP 192.168.1.253 , Mikrotik R951G-2HnD with IP 192.168.1.1 .

The VM is configured so that all TCP traffic (except ports 22 and 179 ) is redirected to port 9040 , to the TOR, which operates in the Transparent Proxy mode.

Thus, on Mikrotik, you can manually create a route for any IP address, and traffic will go to TOR. (here's an example for rutracker.org with an IP address of 195.82.146.214 .

There is also a great API, at the output of which we have a huge sheet of IP addresses, the list is updated every day: https://api.antizapret.info/group.php

Attention, question (more precisely, two):

1) how to set up Quagga to parse the list once a day (probably by Python script or something else) and announce all IP addresses from the list to 192.168.1.253 via BGP in order to transfer these routes to Mikrotik ?

2) If it is impossible to answer question # 1, how can you transfer Quagga routes from Python so that it announces them to Mikrotik?

  • 7
    I vote for the closure of this issue as not relevant topic, because this issue calls for a violation of the legislation of the Russian Federation. - user194374
  • eight
    @kff So what? The Russian Federation is not the center of the world. And tell me, where is the law forbidden to bypass the lock? - Vasiliy
  • 2
    The fact that you are not interested in it does not mean that the question is automatically good. You can ask how using the program to steal credit card data of people who, because of ignorance, will install it on their computer, this will also be a matter outside the law. Argue that your question is better. - VladD 6:49 pm
  • 2
    @Vlad In an interview with RBC at the beginning of 2016, the RKN spokesman Vadim Ampelonsky said: "Bypassing the locks does not contradict the law." The solution with a torus is sawing for myself; all sorts of extensions for chrome just don't suit me. VPN is badly lacking bypass in case of emergency, and pings are increasing and connectivity suffers, and I don’t want to bother with IPTV routes. The solution with dynamic routing looks the most native. - Vasiliy
  • 7

0