From owner-freebsd-questions Sun May 30 9:22:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.go2france.com (go2france.com [209.51.193.70]) by hub.freebsd.org (Postfix) with SMTP id 0EF8A14D2E for ; Sun, 30 May 1999 09:22:20 -0700 (PDT) (envelope-from lconrad@Go2France.com) Received: from superviseur [62.161.63.210] by mail.go2france.com with ESMTP (SMTPD32-4.03) id A1C5F420056; Sun, 30 May 1999 10:57:09 EST5EDT Message-Id: <4.2.0.56.19990530180943.00a93530@go2france.com> X-Sender: lconrad@go2france.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.56 (Beta) Date: Sun, 30 May 1999 18:21:32 +0200 To: freebsd-questions@freebsd.org From: Len Conrad Subject: "ipfw add fwd ipaddr ip ..." syntax Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG We can't come up with a command line that ipfw will swallow. I guess what we're trying to do is make a kind of "level3 switch" function. hardware config: WAN on if0: x.y.z.200 [mainrouter freebsd + ipfw] LAN on if1: 192.168.253.254 Ethernet LAN if0: x.y.z.214 [somehost] What we want is to receive on the mainrouter WAN packets for .214 and forward on the LAN to somehost. We've read the man ipfw page many times, and here's what we come up with: ipfw add fwd x.y.z.214 ip from any to x.y.z.214 via if1 tia, Len To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message