From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <40E3D0E1.6030101@tut.by> Date: Thu, 01 Jul 2004 11:52:49 +0300 From: Yury Levdansky User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.6) Gecko/20040621 X-Accept-Language: en-us, en, ru MIME-Version: 1.0 To: community@altlinux.ru Subject: Re: [Comm] =?KOI8-R?Q?=F7=CF=D0=D2=CF=D3_=CB_=DA=CE=C1=D4=CF?= =?KOI8-R?Q?=CB=C1=CD_iptables?= References: <40E3C28C.4000901@tut.by> <200407011323.50056.combr@vesna.ru> In-Reply-To: <200407011323.50056.combr@vesna.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 08:52:35 -0000 Archived-At: List-Archive: List-Post: Mike Lykov пишет: >В сообщении от Четверг 01 Июль 2004 12:51 Yury Levdansky написал: > > > >>В туториале есть такая строчка, которая по своей задумке должна решить >>мою задачу: >>$IPTABLES -t nat -A OUTPUT -d $my_ip -p tcp --dport 80 -j DNAT >>--to-destination $any_ip >>пробовал ругается на invalid argument . >> >> > >в таблице nat нет цепочки output > > я так не думаю. выдержка из man iptables nat: This table is consulted when a packet that creates a new connection is encountered. It consists of three built-ins: PREROUTING (for altering packets as soon as they come in), OUTPUT (for altering locally-generated packets before rout- ing), and POSTROUTING (for altering packets as they are about to go out). ___________ С уважением Левданский Юрий