From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Mike Lykov Organization: Vesna To: community@altlinux.ru Subject: Re: [Comm] Re: firewall+masquerade Date: Fri, 19 Sep 2003 12:22:07 +0500 User-Agent: KMail/1.5 References: <3F6A96D7.7050300@feht.dgtu.donetsk.ua> In-Reply-To: <3F6A96D7.7050300@feht.dgtu.donetsk.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200309191222.07495.combr@vesna.ru> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.13.6.2 X-Sanitizer: Anomy X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.2 Precedence: list Reply-To: community@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 07:22:11 -0000 Archived-At: List-Archive: List-Post: В сообщении от Пятница 19 Сентябрь 2003 10:40 Aleksander N. Gorohovski написал: > По все видимости это связано с тем, что надо дополнительно выполнить > следующие строки из сценария: > echo "1" > /proc/sys/net/ipv4/ip_forward > echo "1" > /proc/sys/net/ipv4/ip_dynaddr > > Не знаю, можно ли считать полным аналогом по первой строке, > включение форвардинга в /etc/sysconfig/network параметром > FORWARD_IPV4=true это не работает > но вроде работает, а вот что "включить" по второй строке :-( смотрите /usr/share/doc/initscripts/sysconfig.txt obsoleted values from earlier releases: FORWARD_IPV4=yes|no This setting has been moved into net.ipv4.ip_forward setting in /etc/sysctl.conf. Setting it to 1 there enables IP forwarding, setting it to 0 disables it (which is the default for RFC compliance). Note this options can be still used for compatibilties but you really have to swith to /etc/sysctl.conf facilities.- -- Mike registered linux user #315334 jabber id: combr@jabber.ru