From owner-freebsd-questions@FreeBSD.ORG Thu Sep 2 02:45:07 2004 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 D7FEC16A4CE for ; Thu, 2 Sep 2004 02:45:07 +0000 (GMT) Received: from aadvantagepropertyinspections.com (66-63-96-2.metrocast.net [66.63.96.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44DD143D31 for ; Thu, 2 Sep 2004 02:45:07 +0000 (GMT) (envelope-from list@pc-remedies.net) Received: from www.pc-remedies.net (localhost.guillemette.org [127.0.0.1]) i823pGG3000832; Wed, 1 Sep 2004 22:51:16 -0500 (EST) From: "Shawn" To: "freebsd questions" Date: Wed, 1 Sep 2004 23:51:16 -0500 Message-Id: <20040902034920.M23017@pc-remedies.net> X-Mailer: Open WebMail 2.30 20040103 X-OriginatingIP: 65.175.254.142 (waldo) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: port redirection from 2 public ips -> natd to a single service. 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: Thu, 02 Sep 2004 02:45:08 -0000 I'm using natd and doing port redirection with a natd.conf file. I have a mission to accomplish this week last sec. O NO... We have to change our IP address on the mail server and they run this mail server off a windows machine.. (placeing the windows machine one the Internet with out firewall is out of the question) we need 2 public IP addresses to redirect to a single machine behind them. The firewall in place now allows DMZ hosting. However, it will not allow us to alias an address outside of its network. plan is to place a freebsd machine in the middle and configure natd with ipfw and so on... well we got the machine working as the gateway and redirected traffic for 110 and 25. as well as a test port 8384. That was great.. more like a good time!! ;-) well the challenge was to alias an address to the public interface and see if that would work. results are .. we could see port redirection working on the Primary address and not the secondary. all though the machine was responding for both IPs. (made connections to the freebsd machine on both IPs) Just the port forwarding would not work. we also tried placing the IP address where we had the interface name to enable nat and listed it twice. one for each address. same results.. we then tried to place another physical interface into the machine and muk with nat in that way. no luck... to be honest the brain had series pain at the moment and I cant remember much more.. Wondering if there is someone out there who maybe able to answer this one or place me ina direction. This could save a us from a future migraine from the ear full we will get.. hehe :-) Thanks for your time.. Shawn "PC's are like air conditioners.. They are both useless with windows open!!!!"