From owner-freebsd-ipfw Sun Jun 9 20:24:42 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by hub.freebsd.org (Postfix) with ESMTP id 2845337B400; Sun, 9 Jun 2002 20:24:25 -0700 (PDT) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 17HFn3-0003Au-00; Mon, 10 Jun 2002 10:24:21 +0700 Received: from uni.land3.nsu.ru ([193.124.213.230] helo=land3.nsu.ru) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 17HFn2-0003AR-00; Mon, 10 Jun 2002 10:24:20 +0700 Received: from localhost (lucky@localhost) by land3.nsu.ru (8.11.6/8.11.6) with ESMTP id g5A3OKI17998; Mon, 10 Jun 2002 10:24:20 +0700 (NOVST) (envelope-from lucky@land3.nsu.ru) Date: Mon, 10 Jun 2002 10:24:20 +0700 (NOVST) From: Alexey Privalov To: freebsd-hackers@freebsd.org Cc: freebsd-ipfw@freebsd.org Subject: natd & trans proxy Message-ID: <20020610101352.Y47747-100000@land3.nsu.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Envelope-To: freebsd-ipfw@freebsd.org, freebsd-hackers@freebsd.org Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi all. i`m running two natd`s on rl3 (external) and rl0 (internal). the first natd is running on 8668 (standart) port and is diverting private ip to ip on interface and have following configuration: interface rl3 unregistered_only yes use_sockets yes same_ports yes the second natd have a following configuration: port 8669 proxy_only proxy_rule port 80 server proxy_addr:8888 interface rl0 and is forwarding to squid. why when interface rl0 receive http packet then it divert ip to external. best regards, Alexey PS: ipfw rule: 40 divert 8669 tcp from to any 80 via rl0 50 divert 8668 ip from any to any via rl3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message