ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Kir <forlin@yandex.ru>
To: community@altlinux.ru
Subject: Re: [Comm] iptables не реагирует ни на что
Date: Sun, 20 Mar 2005 21:10:17 +0300
Message-ID: <20050320211017.6ad70865.forlin@yandex.ru> (raw)
In-Reply-To: <200503200841.09195.ngrechukh@ua.fm>

Доброго всем времени суток!

On Sun, 20 Mar 2005 08:41:05 +0200
"Nick S. Grechukh" <ngrechukh@ua.fm> wrote:

> On Sunday 20 March 2005 04:02, Kir wrote:
> > Взялся было за настройку iptables, обложился доками, и на тебе!
> > Подскажите, как с этим бороться:
> > [root@comp1 root]# service iptables start
> > [root@comp1 root]# service iptables status
> > [root@comp1 root]# rpm -q iptables
> > iptables-1.2.11-alt2
> > То есть пакет стоит, но на команды не реагирует :-(((
> на какие команды он должен реагировать? вы же не создали ни цепочек ни 
> фильтров. _сервиса_ iptables  на самом деле нету, вызывая /sbin/iptables вы 
> управляете пакетным фильтром _встроенным в ядро_. а service iptables 
> stop/start запоминает где-то в /etc/ текущие настройки, и восстанавливает их, 
> соответственно. для того чтобы не писать постоянные (=переживающие 
> выключение) настройки в rc.local.



Ну, если я не ошибаюсь, какие-то цепочки (или это не цепочки?) есть по умолчанию.
Вот содержимое файла /etc/sysconfig/iptables, в который я вообще не лазил:

# Example iptables config file.
# Note the this file uses the format of iptables-save
# What follows is an example of this output.  However,
# the actual rule lines have been commented out.
# DO NOT USE THE -t (table) OPTION IN THIS FILE!
*mangle
:PREROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
#-A PREROUTING -p tcp --dport 22 -j TOS --set-tos 0x10
COMMIT
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
#-A FORWARD -i eth0 -j ACCEPT
COMMIT
*nat
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
#-A POSTROUTING -o eth0 -j MASQUERADE
COMMIT


---------

На всякий случай: дистрибутив "ALT Linux 2.4 Master" с ftp.altlinux.ru

---------

С уважением,
Kir									forlin@yandex.ru


  reply	other threads:[~2005-03-20 18:10 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-20  2:02 Kir
2005-03-20  6:41 ` Nick S. Grechukh
2005-03-20 18:10   ` Kir [this message]
2005-03-21  9:15     ` Nick S. Grechukh
2005-03-21  9:28       ` [Comm] " Michael Shigorin
2005-03-21 15:35         ` Александр
2005-03-21 16:20           ` Michael Shigorin
2005-03-21 22:25             ` Metalking
2005-03-22  6:54               ` Michael Shigorin
2005-03-22 17:26               ` Alexey Voinov
2005-03-22 21:07                 ` Denis Smirnov
2005-03-22 18:34                   ` Alexey Voinov
2005-03-24 15:22                     ` Denis Smirnov
2005-03-24 17:20                       ` Alexey Voinov
2005-03-24 18:08                         ` [Comm] [FAQ] (patch-o-matic) " Michael Shigorin
2005-03-22  9:26       ` [Comm] " Kir
2005-03-24 14:00         ` [Comm] Ошибки при настройке iptables Kir
2005-03-20 18:20   ` [Comm] iptables не реагирует ни на что Pavel Usischev
2005-03-20  6:41 ` Andrey Rahmatullin
2005-03-20  7:00   ` Nick S. Grechukh
2005-03-20 14:39     ` Andrey Rahmatullin

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=20050320211017.6ad70865.forlin@yandex.ru \
    --to=forlin@yandex.ru \
    --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