From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Date: Thu, 19 Jan 2012 23:01:18 +0200 From: Michael Shigorin To: community@lists.altlinux.org Message-ID: <20120119210117.GQ21308@osdn.org.ua> Mail-Followup-To: community@lists.altlinux.org References: <496061327005934@web29.yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <496061327005934@web29.yandex.ru> User-Agent: Mutt/1.4.2.1i Subject: Re: [Comm] AltLinux 6.0 Centaurus Server X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: shigorin@gmail.com, ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2012 21:01:23 -0000 Archived-At: List-Archive: List-Post: On Fri, Jan 20, 2012 at 12:45:34AM +0400, Христенко Антон wrote: > при попытке прописать маршрутизацию ( iptables -t nat -A > POSTROUTING -s 192.168.0.0/24 -o eth1 -j MASQUERADE ) выдает > сообщение bash: iptables: команда не найдена > собственно, кто подскажет, в чем ошибка? > iptables установлен. rpm -ql iptables | grep bin подскажет, что /sbin/iptables лежит в /sbin; далее можно предположить, что /sbin нет в $PATH (см. echo $PATH), а отсюда предложить глянуть http://www.altlinux.org/su :) -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/