From owner-freebsd-ipfw Wed Feb 7 18: 8:25 2001 Delivered-To: freebsd-ipfw@freebsd.org Received: from rapidnet.com (rapidnet.com [205.164.216.1]) by hub.freebsd.org (Postfix) with ESMTP id 1806937B401 for ; Wed, 7 Feb 2001 18:08:08 -0800 (PST) Received: from localhost (nick@localhost) by rapidnet.com (8.9.3/8.9.3) with ESMTP id TAA83053; Wed, 7 Feb 2001 19:07:51 -0700 (MST) Date: Wed, 7 Feb 2001 19:07:51 -0700 (MST) From: Nick Rogness To: Joshua Goodall Cc: Christoph Sold , ipfw@FreeBSD.ORG Subject: Re: freebsd-ipfw@FreeBSD.org In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 8 Feb 2001, Joshua Goodall wrote: > > Hi folks, > > > > for the first time, I need to do some redirect: > > > > On a box with a single interface I want to run an untrusted application > > on port 23. I know, I can run it suid root, but i did not want to for > > obvious reasons. > > > > Q: How to redirect from interface ed0, port 80, to the very same > > machine, untrusted port, e.g. 1234? > > possibly, > > ipfw add divert 23 tcp from any to localhost:1234 ipfw fwd may also be a possiblity...depending on the circumstances: ipfw add fwd 127.0.0.1,1234 tcp from any to any 80 via ed0 But like I said, it depends on the circumstances and what you are actually trying to do. See the ipfw(8) manpage for more details. Nick Rogness - Keep on routing in a Free World... "FreeBSD: The Power to Serve " To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message