Hello Ivan,
Monday, April 12, 2004, 4:36:57 PM, you wrote:
I> Return-Path: <glu***@m*****.ru>
I> X-Original-To: alex@t*****.ru
I> Delivered-To: alex@t*****.ru
I> Received: by tebuk.parma.ru (Postfix, from userid 633)
I> id 9CB7914AC7E; Mon, 12 Apr 2004 16:43:37 +0400 (MSD)
I> Received: from cat224.subscribe.ru (cat224.subscribe.ru [81.9.34.224])
I> by tebuk.parma.ru (Postfix) with ESMTP id 31F3B14AC7C
I> for <al***@t*****.ru>; Mon, 12 Apr 2004 16:42:59 +0400 (MSD)
I> X-Felis-Deliver-Id: 7CC4D3B7E6E; Mon, 12 Apr 2004 16:41:47 +0400
I> X-Felis-Queue-Id: 20040412164147
I> Resent-Message-Id: <200404121636.57662.iv***@j*****.ru>
I> Resent-Received: from UNKNOWN(81.18.141.234), claiming to be
I> "mail.jobcenter.insysnet.ru" via SMTP by kubcat.subscribe.ru,
I> id smtpdRRZ8kx; Mon Apr 12 16:30:46 2004 +0300
I> Resent-Received: by mail.jobcenter.insysnet.ru (Lotus Notes (Release
I> 5.0.6a |January 17, 2001), from userid 500) id E9F87113152; Mon,
I> 12 Apr 2004 16:29:13 +0400 (MSD)
I> Resent-Received: from ivan.host.dep (unknown [192.168.128.167]) by
I> mail.jobcenter.insysnet.ru (Lotus Notes (Release 5.0.6a |January 17,
I> 2001)) with ESMTP id CD5D2113151 for
I> <3591991-comp.soft.linux.kirovlug-list@subscribe.ru>; Mon,
I> 12 Apr 2004 16:29:13 +0400 (MSD)
I> Resent-User-Agent: KMail/1.5.3
I> Resent-From: Ivan <iv***@j*****.ru>
I> Date: Mon, 12 Apr 2004 16:36:57 +0400
I> Received: from localhost by localhost; Mon, 12 Apr 2004 16:31:25 +0400
I> Precedence: normal
I> List-Id: <comp.soft.linux.kirovlug.subscribe.ru>
I> List-Help: <mailto:ask@subscribe.ru>
I> List-Subscribe:
I> <http://subscribe.ru/catalog/comp.soft.linux.kirovlug>
I> List-Unsubscribe:
I> <http://subscribe.ru/member/unsub?grp=comp.soft.linux.kirovlug&email=al***@t*****.ru>
I> List-Archive:
I> <http://subscribe.ru/archive/comp.soft.linux.kirovlug>
I> List-Post: <mailto:comp.soft.linux.kirovlug-list@subscribe.ru>
I> List-Owner: <mailto:koalma***@e*****.ru>
I> Message-Id:
I> <20040412163124.123889@comp.soft.linux.kirovlug.subscribe>
I> Reply-To: 741817-comp.soft.linux.kirovlug-list@subscribe.ru
I> From: Ivan <iv***@j*****.ru>
I> To: "comp.soft.linux.kirovlug" <al***@t*****.ru>(741817)
I> Subject: =?koi8-r?Q?=F3=C5=D4=C9?=
I> MIME-Version: 1.0
I> Content-Language: ru
I> Content-Type: text/plain; charset="koi8-r"
I> Content-Transfer-Encoding: 8bit
I> Resent-Date: Mon, 12 Apr 2004 16:42:59 +0400 (MSD)
I> Доброе время суток.
I> Ни как не могу решить проблемку с заворотом трафика.
I> Необходимо из сети А (172.х.х.х) проходящих через сервак Б (217.9.147.х) весь
I> трафик по 25 110 портам завернуть на сервак В (81.18.х.х).
iptables -t nat -A PREROUTING -p tcp -s 172.0.0.0/8 -d
217.9.147.0/24 --dport 25:110 -j REDIRECT 81.18.х.х
примерно так
только надо для этого патч patch-o-matic ставить
с поддержкой REDIRECT вроде бы