From owner-freebsd-questions Sat Aug 24 0:36:11 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 836F137B400 for ; Sat, 24 Aug 2002 00:36:09 -0700 (PDT) Received: from dragoncrest.jasnetworks.net (dragoncrest.jasnetworks.net [65.194.254.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id D564F43E3B for ; Sat, 24 Aug 2002 00:36:08 -0700 (PDT) (envelope-from raiden23@netzero.net) Received: from works (works.jasnetworks.net [192.168.0.2]) by dragoncrest.jasnetworks.net (8.12.3/8.11.6) with ESMTP id g7O7jIgh027225 for ; Sat, 24 Aug 2002 03:45:18 -0400 (EDT) (envelope-from raiden23@netzero.net) Message-Id: <4.2.0.58.20020824033235.00a1a100@192.168.0.25> X-Sender: megos@192.168.0.25 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Sat, 24 Aug 2002 03:45:02 -0400 To: FreeBSD Questions From: Lord Raiden Subject: Question about redirects via IPFW Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 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. :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message