From owner-freebsd-questions Sat Aug 24 10: 5:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BE6C37B400 for ; Sat, 24 Aug 2002 10:05:46 -0700 (PDT) Received: from ns1.webwarrior.net (overlord-host99.dsl.visi.com [209.98.86.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id DACA143E4A for ; Sat, 24 Aug 2002 10:05:45 -0700 (PDT) (envelope-from friar_josh@webwarrior.net) Received: from markx.vladsempire.net (12-218-27-215.client.mchsi.com [12.218.27.215]) by ns1.webwarrior.net (Postfix) with ESMTP id 3986B251BA; Sat, 24 Aug 2002 12:05:33 +0000 (GMT) Subject: Re: Question about redirects via IPFW From: Josh Paetzel Reply-To: friar_josh@webwarrior.net To: Lord Raiden Cc: FreeBSD Questions In-Reply-To: <4.2.0.58.20020824033235.00a1a100@192.168.0.25> References: <4.2.0.58.20020824033235.00a1a100@192.168.0.25> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 24 Aug 2002 12:04:26 +0000 Message-Id: <1030190668.89412.0.camel@markx.vladsempire.net> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 2002-08-24 at 07:45, Lord Raiden wrote: > HI. I'm curious of something. I'm trying a little experiment with a > couple of things and I was wondering if this was possible to do. Basically > what I want to do is setup a server so that if someone connects from a > given IP and connects to a given port their connection will be bounced over > to another machine off the same nic to another pre-specified port. I only > want certain IP's connecting to certain ports to be able to do this. > > So say my machine only has one nic. I'm at 10.10.5.5 and connecting on > port 9700 to the redirector. The redirector then takes the data that > machine 1 is sending it and sends it off to machine 2 on port 2300. That > way Machine 1 thinks it's only dealing with the redirector, and machine two > thinks the same thing. I'm wanting to use this "redirector" of sorts as a > go between for the two machines. > > They can't get to each other due to proxy/firewall restrictions between > the two sites, so I want to use an intermediary machine to allow them to > connect. Neither site can see either other or connect to each other > because of their security configurations. However, both can connect just > fine to a 3rd site that perty much sits exactly in the middle between the > two sites. I want to setup a server that allows me to bounce off of it and > contact machines in the other site while they do the same to mine. > > Am I making any sence? If so, how would I do this? The machine I'm > looking at doing this with will only have 1 nic. So I can't do redirecting > via 2 nics, cause I won't have them. :) Take a look at /usr/ports/net/bounce Josh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message