From owner-freebsd-questions Thu Oct 22 12:51:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA18260 for freebsd-questions-outgoing; Thu, 22 Oct 1998 12:51:37 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from megadeth.rtci.com (megadeth.noc.rtci.com [216.27.37.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA18255; Thu, 22 Oct 1998 12:51:35 -0700 (PDT) (envelope-from dhopkins@rtci.com) Received: from rtci.com (oxygen.schizo.com [216.27.37.251]) by megadeth.rtci.com (8.8.8/8.8.8) with ESMTP id PAA00588; Thu, 22 Oct 1998 15:53:27 -0400 (EDT) (envelope-from dhopkins@rtci.com) Message-ID: <362F8E3C.E3C820B7@rtci.com> Date: Thu, 22 Oct 1998 15:57:48 -0400 From: Damon Hopkins Organization: Research Triangle Consultants, Inc. X-Mailer: Mozilla 4.5 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Chad Thunberg CC: freebsd-security@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: firewall + internal mail server References: <000501bdfdde$1f5f53b0$ef2376cc@tarn.atvideo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I do it this way.. I don't think that the udp stuff is necessary but I put it in there because Im to lazy to find out my natd.conf file #smtp redirect_port tcp 10.0.0.2:25 216.27.37.251:25 redirect_port udp 10.0.0.2:25 216.27.37.251:25 #pop3 redirect_port tcp 10.0.0.2:110 216.27.37.251:110 redirect_port udp 10.0.0.2:110 216.27.37.251:110 #imap redirect_port tcp 10.0.0.2:143 216.27.37.251:143 redirect_port udp 10.0.0.2:143 216.27.37.251:143 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. > > Thanks, > -Chad > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message