From owner-freebsd-questions Tue Jul 27 17: 9: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from fingers.shocking.com (shocking.com [216.111.111.11]) by hub.freebsd.org (Postfix) with ESMTP id 3911A14EEA for ; Tue, 27 Jul 1999 17:08:57 -0700 (PDT) (envelope-from doemill@shocking.com) Received: from shocking.com (doemill@shocking.com [216.111.111.11]) by fingers.shocking.com (8.9.0/8.9.0) with ESMTP id RAA05329; Tue, 27 Jul 1999 17:07:50 -0700 (PDT) Date: Tue, 27 Jul 1999 17:07:50 -0700 (PDT) From: Doug To: Dan Simoes Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: setting up redirects with natd/firewall In-Reply-To: <379E50C9.76AA59AE@iclick.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG yah, it still apply's, just change ppp0 to the interface, like ne1, ne0 etc... I dont see it in the man page either, but it works, So I dont complain... This is on a 3.2-RELEASE boxen btw. good luck ps.. 216.111.111.91 is my static ip, 192.168.0.2 is the box behind the gateway (216.111.111.91), those rules forward smtp to stinky(192.168.0.2), ftp, telnetd, ssh, etc... On Tue, 27 Jul 1999, Dan Simoes wrote: > Doug wrote: > > > > rdr ppp0 216.111.111.91/32 port 80 -> 192.168.0.2 port 80 > > rdr ppp0 216.111.111.91/32 port 26 -> 192.168.0.2 port 22 > > rdr ppp0 216.111.111.91/32 port 27 -> 192.168.0.2 port 23 > > etc... > > > I should have qualified. > I realize from looking at the archives that most people are using > ppp, these are permanent connections. > > I imagine the same would still apply? > > I don't see "rdr" as an option to natd, and it's not in the man > pages either... > > Thanks, > > | Dan | > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > | Doug | unix9.org admin | shocking.com/~doemill/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message