From owner-freebsd-questions Thu Oct 22 11:35:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA06622 for freebsd-questions-outgoing; Thu, 22 Oct 1998 11:35:38 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from shemp.palomine.net (shemp.palomine.net [205.198.88.200]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA06612 for ; Thu, 22 Oct 1998 11:35:35 -0700 (PDT) (envelope-from cjohnson@palomine.net) Received: (qmail 6355 invoked by uid 1000); 22 Oct 1998 18:35:05 -0000 Message-ID: <19981022143505.A6347@palomine.net> Date: Thu, 22 Oct 1998 14:35:05 -0400 From: Chris Johnson To: Chad Thunberg , freebsd-questions@FreeBSD.ORG Subject: Re: firewall + internal mail server References: <199810221629.FAA27065@cyclops.xtra.co.nz> <000501bdfdde$1f5f53b0$ef2376cc@tarn.atvideo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <000501bdfdde$1f5f53b0$ef2376cc@tarn.atvideo.com>; from Chad Thunberg on Thu, Oct 22, 1998 at 10:05:08AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Oct 22, 1998 at 10:05:08AM -0700, Chad Thunberg wrote: > I am setting up a firewall and enabled natd but have an internal mail > server. Is there a way to still be able to access the internal mail server > from the outside for sending and receiving email? I thought about giving > the firewall a vhost of mail.host.com and diverting packets that came in > from 110 and 25 to the internal mail server but from the man pages, divert > seems to be used for diverting packets from one port to another on the same > machine instead of diverting them to a new or ineternal ip. Any help on the > subject would be great. I would rather not put the mail server outside of > the firewall. I think what you're looking for is natd's -redirect_port option. Chris Johnson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message