From owner-freebsd-stable Sat Jan 27 5:21:13 2001 Delivered-To: freebsd-stable@freebsd.org Received: from www.golsyd.net.au (ftp.golsyd.net.au [203.57.20.1]) by hub.freebsd.org (Postfix) with ESMTP id 823BC37B402 for ; Sat, 27 Jan 2001 05:20:54 -0800 (PST) Received: from [203.164.12.28] by www.quake.com.au (NTMail 4.30.0012/AH9370.63.d1acf55c) with ESMTP id towsaaaa for ; Sun, 28 Jan 2001 00:29:32 +1100 Message-ID: <3A72CB47.7A5DD83@quake.com.au> Date: Sun, 28 Jan 2001 00:21:11 +1100 From: Kal Torak X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD-stable Subject: ipfw forwarding Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hiyas, I am hoping someone will be able to to tell me what im doing wrong with this forwarding rules... And dont anyone complain that this should go to a different list or there will be trouble :P Anyway here is what I am trying to do... I have a FreeBSD box as my gateway / firewall so it has an external ip and internal lan ip (naturally), I am using nat for internet access... My gateway is an old p166 with 250mb hdd, so its not practical to run any servers on it, this is why I want to forward connections to certain ports to other systems in the local lan... Ok, so I have another FreeBSD box running a server on port 27015/udp and I put a rule in my ipfw list saying "${fwcmd} 600 fwd 10.0.0.4 udp from any to any 27015" this seems like it should do the job, and when I connect from the outside a "ipfw -at l" shows that the rule was hit, yet on the system the data was meant to be forwarded to nothing comes... I have tested with netcat to see if anything comes, but nothing dose and the activity lights on the nic never flash... So I figure since everything works fine inside the network I must be using the fwd rule wrong or something... I dont really want to use any of those redirection thingys like plug-gw, I am hoping to just use the fwd rule? Or do I have to use some sort of udp forwarding program? Thanks, any help or comments would be good :) Kal. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message