From owner-freebsd-questions Mon Sep 13 10: 0:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from radius.wavefire.com (radius.workfire.net [139.142.95.252]) by hub.freebsd.org (Postfix) with SMTP id 3CF87155C3 for ; Mon, 13 Sep 1999 10:00:19 -0700 (PDT) (envelope-from swen@wavefire.com) Received: (qmail 19782 invoked from network); 13 Sep 1999 17:31:41 -0000 Received: from swen.kabis.com (HELO swen) (139.142.95.222) by radius.workfire.net with SMTP; 13 Sep 1999 17:31:41 -0000 Message-Id: <3.0.32.19990913100137.00b23b20@mail.wavefire.com> X-Sender: swen@mail.wavefire.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Mon, 13 Sep 1999 10:01:37 -0700 To: freebsd-questions@freebsd.org From: Chameleon Subject: ipfw forwarding for a port Mime-Version: 1.0 Content-Type: text/enriched; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry to bug anyone. I'm still learning FreeBSD (as i'm sure i will be doing for the next 30 years) and i'm having a problem with my network. What i want to do is to ftp to my FreeBSD router and have the ftp program think its logged up to my NT box. This should be relitively easy, but i can't seem to get it to work. As far as i know i should be using 'fwd' but everything i've tried hasn't worked. should i use ipfw add 300 fwd 10.13.13.69,21 tcp from any to 24.x.x.x 21 via ed0 ?? internet ed0|--------|ed1 |-----------| ---------->| router |-------->| NT w/ ftp | |--------| |-----------| my ipfw as follows: 00100 1057339 796830758 divert 8668 ip from any to any via ed0 00100 68 3264 allow ip from any to any via lo0 00200 0 0 deny ip from any to 127.0.0.0/8 65000 2125558 1595251999 allow ip from any to any 65535 1 576 deny ip from any to any any help with this would be greatly appreciated Swen Kabis ~ -----BEGIN GEEK CODE BLOCK----- GCS/O d-(+) s:+>:- a- C++++ UB++$>++++$ P+ L++>++++$ E-- W++(++) N+ o? K? w--- O- M-- V-- PS+ PE@ Y PGP t++ 5++ X R* tv++ b+++(+) DI++ D+++ G++ e++ h---->$ r+++ x** -----END GEEK CODE BLOCK----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message