From owner-freebsd-questions@FreeBSD.ORG Sun Nov 2 19:30:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80F6016A579 for ; Sun, 2 Nov 2003 19:30:17 -0800 (PST) Received: from pioneernet.net (mail.pioneernet.net [207.115.64.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC0FF43FA3 for ; Sun, 2 Nov 2003 19:30:16 -0800 (PST) (envelope-from chip@wiegand.org) Received: from wiegand.org [66.114.152.128] by pioneernet.net with ESMTP (SMTPD32-6.06) id ABDFE0280094; Sun, 02 Nov 2003 19:30:39 -0800 Message-ID: <3FA5CBE3.1090500@wiegand.org> Date: Sun, 02 Nov 2003 19:30:43 -0800 From: Chip User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Hill References: <20031102191139.F40186-100000@frambozen.monochrome.org> In-Reply-To: <20031102191139.F40186-100000@frambozen.monochrome.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Questions List Subject: Re: Divert port 80 to internal server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2003 03:30:17 -0000 Chris Hill wrote: > Any idea of a useable ipfw rule that will work for this application? Best let natd.conf handle the redirect, like this (I have an old fbsd4.0 box) - use_sockets yes port 8668 alias_address outside.nic.address redirect_port tcp 192.168.1.10:80 80 192.168.1.10 is the inside web server ip address. Change it to whatever yours is. Alias is the nic facing the internet on the firewall box. Change it accordingly. Your rc.firewall (whatever you called the rules file) should have the lines in it to read the natd.conf file before loading the firewall rules. Hope that helps, Chip > Thanks in advance. > > -- > Chris Hill chris@monochrome.org > ** [ Busy Expunging <|> ] > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > . >