From: "Андрей Кузнецов" <admin@lipetskfm.ru>
To: shigorin@gmail.com,
ALT Linux Community general discussions
<community@lists.altlinux.org>
Subject: Re: [Comm] Помогите заблокировать клиентов.
Date: Thu, 29 Nov 2012 12:00:18 +0400
Message-ID: <50B71612.5040804@lipetskfm.ru> (raw)
In-Reply-To: <20121128120542.GH18247@osdn.org.ua>
Добрый день!
>> P.S. Сейчас прочитал что надо не INPUT цепочку использовать,
>> а FORWARD, правильно?
> Да -- см. iptables-tutorial насчёт схемы прохождения пакетов:
> INPUT относится к локальному назначению, а не транзиту.
>
Спасибо, посмотрел на следование пакета и увидел свою ошибку, до INPUT
пакет вообще не доходил. Все решил с помощью строки:
iptables -A FORWARD -i eth0 -p tcp -s %ip_block_user% --dport 80 -j DROP
--
С Уважением, Андрей admin@lipetskfm.ru
Системный администратор Липецкой Радиогруппы:
Русское радио 100,5
Love Radio 104,6
Эхо Москвы 105,6
Радио 7 106,2
Контактный телефон: +7-950-802-5-305
next prev parent reply other threads:[~2012-11-29 8:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-28 11:40 ` Dmitrii Kashin
2012-11-29 7:57 ` Андрей Кузнецов
2012-11-28 12:05 ` Michael Shigorin
2012-11-29 8:00 ` Андрей Кузнецов [this message]
2012-12-01 12:01 ` Michael A. Kangin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50B71612.5040804@lipetskfm.ru \
--to=admin@lipetskfm.ru \
--cc=community@lists.altlinux.org \
--cc=shigorin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git