Как забанить Яндекс на Линуксе

#!/bin/sh
route add -net 5.255.255.0 netmask 255.255.255.0 reject
route add -net 100.43.64.0 netmask 255.255.224.0 reject
route add -net 141.8.183.0 netmask 255.255.255.0 reject
route add -net 37.9.113.0 netmask 255.255.255.0 reject
route add -net 77.88.0.0 netmask 255.255.192.0 reject
route add -net 81.19.74.0 netmask 255.255.255.0 reject
route add -net 87.250.224.0 netmask 255.255.224.0 reject
route add -net 93.158.128.0 netmask 255.255.192.0 reject
route add -net 95.108.128.0 netmask 255.255.128.0 reject
route add -net 178.154.128.0 netmask 255.255.128.0 reject
route add -net 141.8.142.0 netmask 255.255.255.0 reject
route add -net 5.45.192.0 netmask 255.255.192.0 reject

Как разбанить

#!/bin/sh
route del -net 5.255.255.0 netmask 255.255.255.0 reject
route del -net 100.43.64.0 netmask 255.255.224.0 reject
route del -net 141.8.183.0 netmask 255.255.255.0 reject
route del -net 37.9.113.0 netmask 255.255.255.0 reject
route del -net 77.88.0.0 netmask 255.255.192.0 reject
route del -net 81.19.74.0 netmask 255.255.255.0 reject
route del -net 87.250.224.0 netmask 255.255.224.0 reject
route del -net 93.158.128.0 netmask 255.255.192.0 reject
route del -net 95.108.128.0 netmask 255.255.128.0 reject
route del -net 178.154.128.0 netmask 255.255.128.0 reject
route del -net 141.8.142.0 netmask 255.255.255.0 reject
route del -net 5.45.192.0 netmask 255.255.192.0 reject

Бан не постоянный. После перезагрузки пропадет.

Назад|На главную