From owner-freebsd-questions Wed Oct 23 23:30:52 2002 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 5828337B401 for ; Wed, 23 Oct 2002 23:30:51 -0700 (PDT) Received: from copper.americanisp.net (smtp01.mail.amisp.net [216.38.38.33]) by mx1.FreeBSD.org (Postfix) with SMTP id AACDC43E3B for ; Wed, 23 Oct 2002 23:30:45 -0700 (PDT) (envelope-from fbsdq@kuyarov.org) Received: (qmail 3919 invoked from network); 24 Oct 2002 06:30:34 -0000 Received: from 216-38-40-14.ip.amisp.net (HELO server.home.pk) (216.38.40.14) by 0 with SMTP; 24 Oct 2002 06:30:34 -0000 Date: Thu, 24 Oct 2002 00:32:50 -0600 From: Peter To: freebsd-questions@freebsd.org Subject: port forwarding/natd...multiple IPs Message-Id: <20021024003250.7a9e0c8d.fbsdq@kuyarov.org> X-Mailer: Sylpheed version 0.8.3 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I got port forwarding to work with one IP, but lets say I have several IP's: natd -n fxp0 -redirect_port 192.168.1.1:25 50 - this works as it connects me to my smtp server if I go to port 50. But as soon as I have several IP's: 192.168.1.1 192.168.1.11 192.168.1.12 192.168.1.13 etc. That port forwards only if I connect to 192.168.1.1:50 but connecting to any alias IP it won't do a port forward. -------------- Be security conscious -- National defense is at stake. ---FreeBSD The Power To Serve--- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message