From owner-freebsd-net Tue Feb 15 10:33: 5 2000 Delivered-To: freebsd-net@freebsd.org Received: from www.geocrawler.com (sourceforge.net [198.186.203.33]) by builder.freebsd.org (Postfix) with ESMTP id 464A549DB for ; Tue, 15 Feb 2000 10:31:46 -0800 (PST) Received: (from nobody@localhost) by www.geocrawler.com (8.9.3/8.9.3) id KAA04192; Tue, 15 Feb 2000 10:32:14 -0800 Date: Tue, 15 Feb 2000 10:32:14 -0800 Message-Id: <200002151832.KAA04192@www.geocrawler.com> To: freebsd-net@freebsd.org Subject: portforwarding From: "Martijn de Munnik" Reply-To: "Martijn de Munnik" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This message was sent from Geocrawler.com by "Martijn de Munnik" Be sure to reply to that address. I've been using linux with ipchains for this for a while but I want to switch to FreeBSD. We got a gateway to the internet with a privat network behind it everything is working fine but i'm not able to do portforwarding (or whatever it's called). I want to forward all incomming connections to 194.109.56.89 (172.16.70.1 on the inside) port 25 to 172.16.70.51 port 25 (this are just example ipnumbers)... So I did the following ipfw add allow tcp from 172.16.70.1 to 172.16.70.1 25 ipfw add fwd 172.16.70.51,25 from any to 194.109.56.89 but it doesn't seem to work BTW a rule that is later declared: ipfw add allow all from any to any Can anyone tell me what is wrong??? Geocrawler.com - The Knowledge Archive To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message