gSpotx2f / ruantiblock_openwrt

Обход блокировок в OpenWrt с помощью Tor или VPN
GNU General Public License v3.0
164 stars 15 forks source link

OpenWrt 21.02.1 + ruantiblock v0.9 , не работает dnsmasq #55

Closed ntdk023 closed 8 months ago

ntdk023 commented 8 months ago

Привет. Использую OpenWrt 21.02.1 + ruantiblock v0.9 , не работает dnsmasq Чтоб проверить, включил пользовательский блэклист uci set ruantiblock.config.add_user_entries="1" , добавил домены в /etc/ruantiblock/user_entries В итоге в ruantiblock.dnsmasq мои записи появились root@OpenWrt:~# cat /tmp/dnsmasq.d/ruantiblock.dnsmasq ipset=/rutracker.org/rd ipset=/myip.ru/rd

root@OpenWrt:~# ruantiblock start ruantiblock start... Filling ipsets... Ok

Но в вебинтерфейсе в статистике показывает Dnsmasq

Нет доступных записей...

И тут в members пусто root@OpenWrt:~# ipset list rd Name: rd Type: hash:ip Revision: 4 Header: family inet hashsize 1024 maxelem 2000000 timeout 3600 Size in memory: 108 References: 1 Number of entries: 0 Members:

Соотвестственно, когда запускаю traceroute к ресурсам, они идут не через vpn

ntdk023 commented 8 months ago

Эм)) если долго мучатся, что нибудь получится. починил

Стояло 2 версии dnsmasq root@OpenWrt:~# opkg list | grep dnsmasq dnsmasq - 2.85-8 dnsmasq-full - 2.85-9

Старую удалил opkg remove dnsmasq и конфиг от dnsmasq-full положил в /etc/config/dhcp

mv /etc/config/dhcp-opkg /etc/config/dhcp ну, и рестарт /etc/init.d/dnsmasq restart