ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Degtyaryov <maga@beltel.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Re: firewall+masquerade
Date: Tue, 16 Sep 2003 16:06:29 +0400
Message-ID: <3F66FCC5.9010203@beltel.ru> (raw)
In-Reply-To: <3F66E91B.20209@feht.dgtu.donetsk.ua>

Aleksander N. Gorohovski wrote:
>>>> Почитал статью из
>>>>     iptables-tutorial-1.1.19.tar.bz2
>>>> в переводе ув. Андрея Киселева.
>>>> О-О-Огромное ему спасибо!
>>>>
>>>> Подправил под себя пример сценария rc.DHCP.firewall.txt.
>>>> Запустил и все прекрасно получилось, т.е. раздача Internet в
>>>> локальную сеть + остальное.
>>>>
>>>> Но вот незадача при новом включении машины или перезагрузке
>>>> системы, iptables-правила пропадают и необходимо заново
>>>> запускать этот сценарий.
>>>>
>>>> Посоветуйте умные люди, как граммотно сделать, чтобы при старте
>>>> системы сценарий срабатывал автоматически
>>
>>
>>
>> После отработки скрипта сказать
>> service iptables save
>> chkconfig iptables on
> 
> 
> О-О-О! Премного благодарен Вам!
> Я все понял по первой строке, а что означает последняя?

Да ничего особенного -- запускать iptables при загрузке =)
chkconfig --list для наглядности.
ну и, традиционно, man chkconfig.


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



      reply	other threads:[~2003-09-16 12:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-16 10:42 Aleksander N. Gorohovski
2003-09-16 12:06 ` Sergey Degtyaryov [this message]

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=3F66FCC5.9010203@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