From: kaf@nevod.ru To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] Перенаправление локальных служб в контейнере Date: Thu, 20 Sep 2007 19:59:50 +0600 Message-ID: <20070920135950.GA8793@nevod.ru> (raw) In-Reply-To: <f041fbd00709200735y58fb6fcfwdf9792b56bbb5772@mail.gmail.com> On Thu, Sep 20, 2007 at 06:35:47PM +0400, Maks Re wrote: > chkconfig --list| grep iptables iptables поправить можно, но здесь есть два вопрса 1. Если я через alterator задал правило для контейнера, то оно должно сохраняться после перезагрузки системы - не править же каждый раз перенаправления после перезагрузки. 2. Если контейнер не стартовал, правила перенаправления не нужны. То есть alterator должен записывать данный правила в определенные скрипты, которые должны включать/выключать правила при старте/останове контейнера. Иначе я смысла на вижу... > ? > > On 9/20/07, Kostarev Alexey <kaf@nevod.ru> wrote: > > > > Добрый день! > > AltLinux Server 4.0 > > Создал контейнер (ftpd) > > Указал в меню Виртуализация/Виртуальные Сервера OpenVZ/настроить контейнер > > перенаправление локальных служб: > > xinetd 21 > > > > > > Правила перенапривления в > > iptables -L -nvx -t nat > > вижу, все работает. > > > > Перегружаю сервер - правила в iptables пропадают > > Вопрос - где зашить правила iptables, чтобы после перезагрузки правила > > сохранялись... > > > > -- > > С Уважением > > Директор ООО НЕВОД > > Костарев А.Ф. > > > > > > _______________________________________________ > > community mailing list > > community@lists.altlinux.org > > https://lists.altlinux.org/mailman/listinfo/community > > > > > > > -- > С уважением, > Макс. > _______________________________________________ > community mailing list > community@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/community -- С Уважением Костарев А.Ф.
next prev parent reply other threads:[~2007-09-20 13:59 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-09-20 12:42 Kostarev Alexey 2007-09-20 13:59 ` kaf [this message] 2007-09-21 11:01 ` Timur Batyrshin 2007-09-21 11:13 ` Kostarev Alexey
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=20070920135950.GA8793@nevod.ru \ --to=kaf@nevod.ru \ --cc=community@lists.altlinux.org \ /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