ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Шишков Евгений" <evgen@tulanews.ru>
To: ALT Linux Community <community@altlinux.ru>
Subject: Re: [Comm] autostart FORWARD_IP in M2.4
Date: Tue, 30 Aug 2005 15:29:18 +0400
Message-ID: <4314430E.6040505@tulanews.ru> (raw)
In-Reply-To: <op.swbgu3dnhz2pp6@oc.peooc.net>

Aleksander N. Gorohovski пишет:

> Подскажите как по граммотному включить форвардинг (через iptables) в  
> Master2.4,
> чтобы он автоматически работал при старте системы (включении компа)?
> 
> Раньше в Master2.2 мне достаточно было настроить правила,
> затем выполнить:
> # echo "1" > /proc/sys/net/ipv4/ip_forward
> # echo "1" > /proc/sys/net/ipv4/ip_dynaddr
> 
> Cохранить правила:
> # service iptables save
> 
> Установить в файле /etc/sysconfig/network:
> FORWARD_IPV4=true (или yes)
> и все работало
> :-)
> 
> Теперь нужно в ручном режиме делать
> # echo "1" > /proc/sys/net/ipv4/ip_forward
> # echo "1" > /proc/sys/net/ipv4/ip_dynaddr
> 

Совсем недавно мне отвечали по этому поводу.
в /etc/sysctl.conf
net.ipv4.ip_forward = 1
и всё.



  reply	other threads:[~2005-08-30 11:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-30 10:31 Aleksander N. Gorohovski
2005-08-30 11:29 ` Шишков Евгений [this message]
2005-08-30 11:13   ` Aleksander N. Gorohovski
2005-08-30 16:12 ` [Comm] " Michael Shigorin
2005-09-02  4:35   ` Aleksander N. Gorohovski
2005-09-02  6:35     ` Michael Shigorin

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=4314430E.6040505@tulanews.ru \
    --to=evgen@tulanews.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