From owner-freebsd-questions Mon Feb 5 2:58:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from eCoNeed.com (unknown [147.252.134.34]) by hub.freebsd.org (Postfix) with ESMTP id A7ECE37B401 for ; Mon, 5 Feb 2001 02:58:20 -0800 (PST) Received: from eCoNeed.com (localhost.kst.dit.ie [127.0.0.1]) by eCoNeed.com (8.11.2/8.11.2) with ESMTP id f15Aw7j02647; Mon, 5 Feb 2001 10:58:07 GMT (envelope-from ppandoson@eCoNeed.com) Message-ID: <3A7E873F.12A346A6@eCoNeed.com> Date: Mon, 05 Feb 2001 10:58:07 +0000 From: Pater Pandoson X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: so@server.i-clue.de Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: ipfw divert References: <3A7E6421.8D0E6E27@eCoNeed.com> <3A7E6AF4.7F78064A@i-clue.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Christoph Sold wrote: > Pater Pandoson schrieb: > > > > If I have a service running on say port 1234 > > and I want a user who can only connect to > > my port 80 to be able to use it (I have no webserver) > > how do I do it, can I do it? > > I have tryed > > ipfw add 10 divert 80 tcp from any to any 1234 > > I can see the rule is been used but my user dos > > not get the service appering on port 80. > > Mee, too. > > If you're not interested in the machine the connect comes from, rinetd > (ussr/ports/net/rinted) seems to do what you want. > > HTH > -Christoph Sold > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message Thanks for that, it seems to work just fine for me. But I still think this is posable with ipfw rules, any helpers? Pater To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message