From owner-freebsd-questions@FreeBSD.ORG Wed Apr 2 22:07:06 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34DCCD78 for ; Wed, 2 Apr 2014 22:07:06 +0000 (UTC) Received: from IMAIL5.netenterprise.net (imail5.netenterprise.net [64.29.90.135]) by mx1.freebsd.org (Postfix) with ESMTP id E8A671CB for ; Wed, 2 Apr 2014 22:07:05 +0000 (UTC) Received: from mohawk7.intra.net [66.180.149.18] by IMAIL5.netenterprise.net with ESMTP (SMTPD-12.3.0.100) id ea7700030c82d954; Wed, 2 Apr 2014 12:07:05 -1000 Message-ID: <533C8A08.9060903@hdk5.net> Date: Wed, 02 Apr 2014 12:07:04 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Al Plant , "freebsd-questions@freebsd.org" Subject: Re: redirect_port Where should it go? References: <533C7DEF.5030709@hdk5.net> <20140402215740.GA59530@slackbox.erewhon.home> In-Reply-To: <20140402215740.GA59530@slackbox.erewhon.home> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: noc@hdk5.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2014 22:07:06 -0000 Roland Smith wrote: > On Wed, Apr 02, 2014 at 11:15:27AM -1000, Al Plant wrote: >> Aloha, >> >> Several list members have posted redirect_port instructions. Some are for >> putting the command lines in natd.conf some mention PF. I use PF on my >> servers and firewall so either will be fine for me. Is there really any >> preferred way to redirect the the mail and www into the servers on the lan? > > If you are already running pf, you might as well do the redirecting there. The > pf.conf(5) manual page has some examples. > > Roland ########## Thanks Roland, One thing I have noticed. There is a (-) dash in front of - redirect_port in the man pages but the dash is missing in the examples. What is the proper form when it is under the PF. Al ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol