ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alex Yustasov <snmon@server.by>
To: Alt Community <community@altlinux.ru>
Subject: Re: [Comm] firewall
Date: Wed, 5 Mar 2003 10:33:53 +0200
Message-ID: <20030305083353.GA23404@server.by> (raw)
In-Reply-To: <1618413645.20030304205749@ngs.ru>

On Tue, Mar 04, 2003 at 08:57:49PM +0600, Denis G. Samsonenko wrote:
> Все вроде отрабатывает. iptables -L выдаёт искомую таблицу. Вот только
> помоему системе пофиг на это дело. Попробовал для теста
> заомментировать строку, разрешающую порт 21 (т.е. запретил ftp),
> рестартовал всё это дело, а на фтп как пускало, так и пускает
> (проверял из локалки, так как наружу наша машина пока закрыта).
               ^^^^^^^
Может я ошибаюсь, но у Вас для локальной сети все разрешено.

$IPTABLES -A INPUT -p ALL -i $LAN_IFACE -s $LAN_IP_RANGE -j ACCEPT
$IPTABLES -A INPUT -p ALL -i $LO_IFACE -s $LO_IP -j ACCEPT
$IPTABLES -A INPUT -p ALL -i $LO_IFACE -s $LAN_IP -j ACCEPT
$IPTABLES -A INPUT -p ALL -i $LO_IFACE -s $INET_IP -j ACCEPT
$IPTABLES -A INPUT -p ALL -i $LAN_IFACE -d $LAN_BROADCAST_ADDRESS -j ACCEPT

Там же есть скрипт rc.UTIN - когда не доверяем локальной сети.



  parent reply	other threads:[~2003-03-05  8:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-04 14:57 Denis G. Samsonenko
2003-03-04 15:45 ` Dmitry Alexeyev
2003-03-04 16:34   ` Oleg Lukashin
2003-03-04 16:57     ` Re[2]: " Dmitry Alexeyev
2003-03-04 17:23       ` Oleg Lukashin
2003-03-04 17:27       ` Maxim Tyurin
2003-03-05  6:48         ` Re[2]: " Denis G. Samsonenko
2003-03-05  7:18           ` Maxim Tyurin
2003-03-05  8:40             ` Denis G. Samsonenko
2003-03-05  9:33               ` Maxim Tyurin
2003-03-05 12:59                 ` Re[2]: " Denis G. Samsonenko
2003-03-05 13:04                   ` Vitaly Ostanin
2003-03-05 13:30                   ` Antonio
2003-03-05 13:36                     ` Re[3]: " Denis G. Samsonenko
2003-03-06  8:00                       ` Andrei M. Laptev
2003-03-06 14:40                         ` Re[2]: " Denis G. Samsonenko
2003-03-05  6:38   ` Denis G. Samsonenko
2003-03-05  8:33 ` Alex Yustasov [this message]
2003-03-05  8:45   ` Denis G. Samsonenko

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=20030305083353.GA23404@server.by \
    --to=snmon@server.by \
    --cc=community@altlinux.ru \
    /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