* [Comm] Re: firewall+masquerade
@ 2003-09-16 10:42 Aleksander N. Gorohovski
2003-09-16 12:06 ` Sergey Degtyaryov
0 siblings, 1 reply; 2+ messages in thread
From: Aleksander N. Gorohovski @ 2003-09-16 10:42 UTC (permalink / raw)
To: community
>>>Почитал статью из
>>> iptables-tutorial-1.1.19.tar.bz2
>>> в переводе ув. Андрея Киселева.
>>> О-О-Огромное ему спасибо!
>>>
>>> Подправил под себя пример сценария rc.DHCP.firewall.txt.
>>> Запустил и все прекрасно получилось, т.е. раздача Internet в
>>> локальную сеть + остальное.
>>>
>>> Но вот незадача при новом включении машины или перезагрузке
>>> системы, iptables-правила пропадают и необходимо заново
>>> запускать этот сценарий.
>>>
>>> Посоветуйте умные люди, как граммотно сделать, чтобы при старте
>>> системы сценарий срабатывал автоматически
>
>
> После отработки скрипта сказать
> service iptables save
> chkconfig iptables on
О-О-О! Премного благодарен Вам!
Я все понял по первой строке, а что означает последняя?
p.s.
Действительно, можно жить и без drakgw ;-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] Re: firewall+masquerade
2003-09-16 10:42 [Comm] Re: firewall+masquerade Aleksander N. Gorohovski
@ 2003-09-16 12:06 ` Sergey Degtyaryov
0 siblings, 0 replies; 2+ messages in thread
From: Sergey Degtyaryov @ 2003-09-16 12:06 UTC (permalink / raw)
To: community
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.
--
Сергей Дегтярев
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-16 12:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-16 10:42 [Comm] Re: firewall+masquerade Aleksander N. Gorohovski
2003-09-16 12:06 ` Sergey Degtyaryov
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