From: "Artem K. Jouravsky" <tema@sema.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Как перезапустить IPTABLES без перез. компа?
Date: Thu, 27 May 2004 18:29:31 +0400
Message-ID: <20040527142931.GA14684@ujo.office.sema.ru> (raw)
In-Reply-To: <20040527193255.00350d07.gosha@anti.su>
On Thu, May 27, 2004 at 07:32:55PM +0600, Igor Solovyov wrote:
> Hi!
> On Thu, 27 May 2004 15:32:28 +0400
> Andrey Rudikov <andre@eip.ru> wrote:
>
> > Подскажите, как правильно перезапустить iptables?
> >
> > Пишу свои правила в файл /etc/sysconfig/iptables
> > Потом пытаюсь перезапустить IPTables путем
> > выполнения:
> > /etc/init.d/iptables restart или
> > /etc/init.d/iptables reload или
> > services iptables restart
>
> services iptables restart
>
> но перед этим не забыть сделать:
>
> services iptables save
И затереть только что созданные правила?
Я делал так:
1. Писал скрипт, куда вписывал всё что мне нужно. По необходимости делал
для скрипта отдельный конфиг. Старался, чтобы было попрозрачней.
2. Сохранял его в /etc/rc.d/rc.firewall (можно оформить его как отдельный
сервис, кстати, в /etc/rc.d/init.d)
3. Говорил chkconfig iptables off
4. Никогда больше не пользовался этим сервисом.
--
С уважением,
Артём.
ЗАО "СЕМА.РУ"
************
Disks travel in packs.
next prev parent reply other threads:[~2004-05-27 14:29 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-27 11:32 Andrey Rudikov
2004-05-27 11:54 ` Mikhailov Vladimir
2004-05-27 13:32 ` Igor Solovyov
2004-05-27 14:29 ` Artem K. Jouravsky [this message]
2004-05-27 14:44 ` Artem Pastukhov
2004-05-27 14:59 ` Artem K. Jouravsky
2004-05-28 3:47 ` Gosha
2004-05-28 7:28 ` Artem K. Jouravsky
2004-05-28 7:37 ` Re[2]: " Alexey S. Kuznetsov
2004-05-28 10:03 ` [Comm] " Michael Shigorin
2004-05-28 12:37 ` [Comm] " Igor Solovyov
2004-05-28 12:43 ` Artem K. Jouravsky
2004-05-28 12:46 ` Igor Solovyov
2004-05-28 13:31 ` Artem K. Jouravsky
2004-05-28 17:18 ` Pyatnitskich Evgeniy
2004-05-28 8:03 ` Maxim Tyurin
2004-05-28 9:58 ` [Comm] " Michael Shigorin
2004-05-28 10:32 ` Maxim Tyurin
2004-05-28 10:45 ` Michael Shigorin
2004-05-28 12:12 ` Artem K. Jouravsky
2004-05-28 12:31 ` Igor Solovyov
2004-05-28 12:40 ` Artem K. Jouravsky
2004-05-28 12:43 ` Igor Solovyov
2004-05-28 12:48 ` Artem K. Jouravsky
2004-05-28 14:07 ` Andrey Rahmatullin
2004-05-28 14:12 ` Artem K. Jouravsky
2004-05-31 5:19 ` Mike Lykov
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=20040527142931.GA14684@ujo.office.sema.ru \
--to=tema@sema.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