LINUX.ORG.RU

История изменений

Исправление anton_jugatsu, (текущая версия) :

ipset n acl_ips hash:ip
ipset add acl_ips 95.142.200.0/21 ## и туда же http://bgp.he.net/search?search%5Bsearch%5D=vkontakte&commit=Search

iptables -A FORWARD -p tcp --dport http -m set --match-set acl_ips dst -j DROP

Исправление anton_jugatsu, :

ipset n acl_ips hash:ip
ipset add acl_ips 95.142.200.0/21 ## и туда же http://www.linux.org.ru/forum/admin/8833793?cid=8833861

iptables -A FORWARD -p tcp --dport http -m set --match-set acl_ips dst -j DROP

Исходная версия anton_jugatsu, :

ipset n acl_ips hash:ip
ipset add acl_ips 95.142.200.0/21 ## и туда же http://www.linux.org.ru/forum/admin/8833793?cid=8833861

iptables -A FORWARD -p tcp --dport http -m set --match-set acl_ips src -j DROP