Date: Wed, 05 May 1999 14:33:02 -0500 From: Benjamin Gavin <gavinb@supranet.net> To: Harlan Stenn <Harlan.Stenn@pfcs.com>, freebsd-questions@FreeBSD.ORG Subject: Re: proxy/nat question Message-ID: <4.1.19990505143149.00ca1890@mail.supranet.net> In-Reply-To: <199905051903.PAA16374@brown.pfcs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.19990505143149.00ca1890>