From: "Artem K. Jouravsky" <tema@sema.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Как перезапустить IPTABLES без перез. компа?
Date: Fri, 28 May 2004 17:31:45 +0400
Message-ID: <20040528133145.GB520@ujo.office.sema.ru> (raw)
In-Reply-To: <20040528184613.5bfd65f3.gosha@anti.su>
[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]
On Fri, May 28, 2004 at 06:46:13PM +0600, Igor Solovyov wrote:
> > > > "Пишу свои правила в файл /etc/sysconfig/iptables"
> > > > [root@ujo root]# service iptables save
> > > > Saving current rules to /etc/sysconfig/iptables: [ DONE ]
> > > > И что станет с файлом, в который писали правила?
> > > А кто вас заставляет писать правила в /etc/sysconfig/iptables ?
> > Меня? Никто :) У меня этот сервис по жизни выключен, чтобы с моим скриптом
> > не подрался :)
>
> Не понял как они могут подраться?
> Отладил скрипт, убедился что все работает, сохранил.
> Все. При перезагрузках сохраненные результаты подымаются
> вместе со стартом сервиса.
> Или я что-то не понял?
Очень просто.
Пошла загрузка системы.
Запустился скрипт /etc/rc.d/rc.firewall
Запустился "сервис" iptables, сказал iprables-restore и поднял старые
правила из /etc/sysconfig/iptables. Перезаписал то, что скрипт отработал.
--
С уважением,
Артём.
ЗАО "СЕМА.РУ"
************
System going down in 5 minutes.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-05-28 13:31 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
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 [this message]
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=20040528133145.GB520@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