ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander Bokovoy <ab@avilink.net>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] Re: [mdk-re] Re: [mdk-re] ipchains - как культурно
Date: Sun May 20 14:31:00 2001
Message-ID: <20010520133611.C17072@boids.avilink.net> (raw)
In-Reply-To: <3B079BE2.E5CC2A1@mtu-net.ru>; from okayunov@mtu-net.ru on Sun, May 20, 2001 at 02:26:42PM +0400

On Sun, May 20, 2001 at 02:26:42PM +0400, Oleg N. Kayunov wrote:
> Mikhail Zabaluev wrote:
> > 
> > Hello Oleg,
> > 
> > On Sat, May 19, 2001 at 06:26:21PM +0400, Oleg N. Kayunov wrote:
> > >
> > > Некоторое врнмя назад я спрашивал о том, как обеспечить выход (длz
> > > Win98) из-под VMWare в Интернет (чрез daial-up в базовой системе). Мне
> > > указали, что копать надо в районе маскарадинга. Покопал, скомпоновал
> > > скрипт. Все соединилось.
> > >       Но состался один вопрос.
> > >       Вопрос: я это делаю скриптом. Можно его, конечно подцепить вк rc.local,
> > > но, насколько я понял из /etc/rc.d/init.d/ipchains - существует (в
> > > принципе) файл /etc/sysconfig/ipchains в коем все это IMHO и следовало
> > > бы записывать. А вот как, формат? Описания нигде не нашел. Равно как и
> > > самого файла.
> > 
> > Этот файл можно получить из текущего состояния ipchains с помощью
> > команды /etc/init.d/ipchains save
> > Там все более-менее прозрачно, разве что параметры сохраняются в
> > "негуманном" виде.
> Спасибо. Сделал.
> Но вот echo 1>/proc/.../ip_forward
> все равно надо "вручную делать, как я понял?
> Или есть какая-то опция в оном файле, которая не проявилась?
В /etc/sysctl.conf добавьте

net.ipv4.ip_forward = 1


-- 
Sincerely yours, Alexander Bokovoy 
  The Midgard Project    | ALT  Linux  Team | Minsk Linux Users Group
 www.midgard-project.org | www.altlinux.ru  |    www.minsk-lug.net 
-- You won't skid if you stay in a rut.
		-- Frank Hubbard



      reply	other threads:[~2001-05-20 14:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-19 22:06 Oleg N. Kayunov
2001-05-19 22:39 ` [mdk-re] " Mikhail Zabaluev
2001-05-20 14:22   ` Oleg N. Kayunov
2001-05-20 14:31     ` Alexander Bokovoy [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=20010520133611.C17072@boids.avilink.net \
    --to=ab@avilink.net \
    --cc=mandrake-russian@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