(Translate deepl.com)
Greetings everyone.
Who knows how to implement the following in OpenWRT:
Redirection of certain domains and domain zones (for .i2p, .onion, blocked sites by the Internet provider (censorship)) to different proxies located on the same ip that OpenWRT that is to specify the port on which the proxy works and also to make redirection of other certain domain zones to the list of dns from which will be randomly (if possible to make a random choice and if not working dns does not respond then choose another dns) selected dns (for OpenNIC).
And in general it would be not bad if sites that could not be opened directly that then the connection went through a proxy and if the site through a proxy failed to connect to the connection went through the Internet archive web.archive.org/web/(Current_date)/(site or page of the site) and the answer was replaced by the answer from the Internet archive.
Well, and specify simple DNS for all other domains (no longer specific).
Then I plan to organize blocking of certain domains, ip, diaposons of ip (blocking spying by devices and applications) (As through DNS requests blocking and through firewall).
And I also want to use free/no registration/no limit on the amount of spent traffic vpn like Lantern, Psiphon, TunnerlBear for blocked domains, but something like that, but that on OpenWRT was.
I would also like to put DC hubs in OpenWRT.
I've been struggling for a few days can't make that only when requesting a site on the domain zone .i2p packets redirected to a proxy
Upd:I tried the following to add to the end of the file /etc/dnsmasq.conf:
address=/bbs,chan,cyb,dyn,epic,geek,gopher,indy,libre,neo,null,o,oss,oz,parody,pirate,bazar,coin,emc,fur,ku,lib,te,ti,uu/63.231.92.27,192.3.165.37,35.211.96.150,162.243.19.47
After restarting, I got the result that all sites stopped opening, including access to the control panel OpenWRT.
Attempt to gain access to OpenNIC
Russian lang:
Приветствую всех.
Кто знает как в OpenWRT реализовать следующее:
Перенаправление определенных доменов и доменных зон (для .i2p, .onion, заблокированные сайты интернет-провайдером(цензура)) на разные прокси находящиеся на том же ip что и OpenWRT то есть указать порт на котором работает прокси а также сделать перенаправление других определенных доменных зон на список dns из которого будет случайно (по возможности сделать случайный выбор а если не работает dns не отвечает то выбрать другой dns) выбран dns (для OpenNIC).
А вообще было бы не плохо если сайты которые не удалось открыть напрямую чтоб тогда соединение шло через прокси а если с сайтом через прокси не удалось соединится то чтоб соединение шло через интернет архив web.archive.org/web/(Тякущая_дата)/(сайт или страница сайта) и ответ подменялся ответом из интернет архива
Ну и указать простые DNS для всех остальных доменов (уже не конкретных).
Потом планирую организовать блокировку определённых доменов, ip, диапозонов ip (блокировка шпионажа со стороны устройств и приложений) (Как через DNS запросы блокировка так и через брандмауэр/файрвол/межсетевой экран).
И еще хочу для заблокированных доменов использовать бесплатные/без регистрации/без ограничения на количество потраченного трафика vpn по типу Lantern, Psiphon, TunnerlBear но что то такого подобия но чтоб на OpenWRT было.
Еще бы хотелось бы поставить DC хабы в OpenWRT
Я несколько дней мучаюсь не могу сделать чтоб только при запросе сайта на доменной зоне .i2p пакеты перенаправлялись на прокси
Upd:Я попробовал следующее добавить в конец файла /etc/dnsmasq.conf:
address=/bbs,chan,cyb,dyn,epic,geek,gopher,indy,libre,neo,null,o,oss,oz,parody,pirate,bazar,coin,emc,fur,ku,lib,te,ti,uu/63.231.92.27,192.3.165.37,35.211.96.150,162.243.19.47
После перезагрузки я получил результат, что все сайты перестали открываться, включая доступ к панели управления OpenWRT. Попытка получения доступа к OpenNIC