From owner-freebsd-questions Wed May 5 12:35:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from horse.supranet.net (horse.supranet.net [205.164.160.8]) by hub.freebsd.org (Postfix) with ESMTP id 7B08B1526D for ; Wed, 5 May 1999 12:35:34 -0700 (PDT) (envelope-from gavinb@supranet.net) Received: from rat (rat.supranet.net [205.164.160.15]) by horse.supranet.net (8.9.3/8.9.3) with SMTP id OAA16355; Wed, 5 May 1999 14:35:02 -0500 (CDT) Message-Id: <4.1.19990505143149.00ca1890@mail.supranet.net> X-Sender: gavinb@mail.supranet.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Wed, 05 May 1999 14:33:02 -0500 To: Harlan Stenn , freebsd-questions@FreeBSD.ORG From: Benjamin Gavin Subject: Re: proxy/nat question In-Reply-To: <199905051903.PAA16374@brown.pfcs.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Do you have gateway_enable="YES" in your rc.conf file. That is the only way that packets can flow across two interfaces. There is also a sysctl(?) command that will turn this on without rebooting, but I can't seem to remember what that is... Ben Gavin At 03:03 PM 5/5/99 -0400, Harlan Stenn wrote: >I have a machine with two NIC interfaces. > >It's running 3.1-STABLE, and I have the IPFIREWALL and IPDIVERT options >enabled in the kernel. > >I want to be able to relay traffic from a particular port on an alias IP >address on one interface to a host on the network connected to the other >interface. > >(I want to tunnel an ssh connection.) > >I've tried a number of things without success (natd, tcprelay, redir, plug-gw, >ssh). > >I only need this to work for about 2-3 weeks, so I'm not interested in a >commercial tool. > >Suggestions/example of what I can do to get this up and running would be >greatly appreciated. > >H > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message /--------------------------------------------------------------------------/ Benjamin Gavin - Senior Consultant *********** NO SPAM!! ************ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message