ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Degtyaryov <maga@beltel.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Firewall (iptables)
Date: Mon, 11 Aug 2003 19:05:19 +0400
Message-ID: <3F37B0AF.8060900@beltel.ru> (raw)
In-Reply-To: <3F37A6E5.3050804@net80.sv.ru>

Maxim Ivanov пишет:
> Maxim Tyurin wrote:
> 
>> On Mon, Aug 11, 2003 at 05:15:18PM +0400, Maxim Ivanov wrote:
>>
>>>
>>>
>>> 1.  В документации часто упоминвется файло с правилами rc.firewall , 
>>> часто даже приводятся его примеры. Скажите, это из той же оперы, что 
>>> и файл, получаемый после iptables-save или это что-то иное? Что? Куда 
>>> его писать? Как к нему обращаться?
>>>
>>
>> Нет. Этот файл идет вместе с iptables-tutorial.
>> Это шеловский скрипт.
>>
> 
> Замечательно. А... Дальше? Что с этим делать? 

Никакой разницы между способом загрузки правил (скрипт (rc.firewall) 
или service iptables start) нет.
Правила будут загружены.
Но если Вы загружаете правила при помощи rc.firewall, то после 
внесения изменений (например добавления правила) вы должны их 
продублировать в rc.firewall, дабы это правило загрузилось при 
следующем старте системы.
iptables-save делает это за Вас (сохраняет _текущую_ конфигурацию)
Я делал так:
1. Правил скрипт под себя.
2. Запускал его.
3. Проверял (service iptables status, iptables -L)
4. Сохранял (service iptables save)
5. Добавлял в загрузку (chkconfig iptables on)
6. Забывал
7. Изменения вносил как описано выше или правкой 
/etc/sysconfig/iptables (когда там есть примеры, он несложен, а 
примеры там появляются после service itables save)
8. Первоначальный скрипт откладывал подальше на всякий там случай.

--
Сергей Дегтярев



  parent reply	other threads:[~2003-08-11 15:05 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-11 13:15 Maxim Ivanov
2003-08-11 13:53 ` Maxim Tyurin
2003-08-11 14:02   ` Dmytro O. Redchuk
2003-08-11 14:44     ` Maxim Tyurin
2003-08-11 14:56       ` Dmytro O. Redchuk
2003-08-11 15:04         ` Maxim Tyurin
2003-08-12  5:43           ` Dmytro O. Redchuk
2003-08-12  6:51             ` Maxim Tyurin
2003-08-12  7:06               ` Dmytro O. Redchuk
2003-08-12  7:11                 ` Maxim Tyurin
2003-08-11 14:23   ` Maxim Ivanov
2003-08-11 14:41     ` Maxim Tyurin
2003-08-11 14:59       ` Maxim Ivanov
2003-08-11 15:11         ` Maxim Tyurin
2003-08-11 15:05     ` Sergey Degtyaryov [this message]
2003-08-11 15:05       ` Maxim Ivanov
2003-08-11 16:10         ` [Comm] Re: [JT] " Vitaly Ostanin
2003-08-11 15:07       ` [Comm] " Maxim Tyurin
2003-08-11 16:12         ` [Comm] " Vitaly Ostanin
2003-08-12  3:24     ` [Comm] " Gosha
2003-08-12  5:02 ` Mihail Maximov

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=3F37B0AF.8060900@beltel.ru \
    --to=maga@beltel.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