From owner-freebsd-questions Tue Feb 26 11:37:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f19.law3.hotmail.com [209.185.241.19]) by hub.freebsd.org (Postfix) with ESMTP id 3CDFD37B402 for ; Tue, 26 Feb 2002 11:37:41 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 26 Feb 2002 11:37:41 -0800 Received: from 63.22.148.56 by lw3fd.law3.hotmail.msn.com with HTTP; Tue, 26 Feb 2002 19:37:40 GMT X-Originating-IP: [63.22.148.56] From: "Douglas A. Maske" To: questions@freebsd.org Subject: NATD PCANYWHERE! Date: Tue, 26 Feb 2002 13:37:40 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 26 Feb 2002 19:37:41.0203 (UTC) FILETIME=[0DE26A30:01C1BEFD] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I have FreeBSD 4.5 with natd/ipfw, all I want to do is redirect pcanywhere traffic. Internet traffic is routing correctly. Here is my /etc/natd.conf interface dc1 use_sockets yes same_ports yes redirect_port tcp x.x.x.x:5631 x.x.x.x:5631 redirect_port tcp x.x.x.x:5632 x.x.x.x:5632 And here is my handy script I wrote #!/bin/sh natd -f /etc/natd.conf /sbin/ipfw -f flush /sbin/ipfw add divert natd all from any to any via dc1 /sbin/ipfw add pass all from any to any What gives? I get Connection Refused... Thanks, Douglas A. Maske Consultant All Bases Covered, Inc. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message