From owner-freebsd-questions Wed Jun 24 09:18:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA02156 for freebsd-questions-outgoing; Wed, 24 Jun 1998 09:18:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from switch2.switchpwr.com ([12.14.48.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA02090 for ; Wed, 24 Jun 1998 09:17:58 -0700 (PDT) (envelope-from melk@switchpwr.com) Received: from 97.72.2.31 (switch1.switchpwr.com [12.14.48.19]) by switch2.switchpwr.com (8.8.7/8.8.7) with SMTP id MAA18337; Wed, 24 Jun 1998 12:14:46 -0400 Message-ID: <3590EF08.15A4@switchpwr.com> Date: Wed, 24 Jun 1998 12:20:27 +0000 From: mel kravitz X-Mailer: Mozilla 3.0Gold (Macintosh; U; PPC) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG CC: johnb@switchpwr.com Subject: natd and redirect_port commands Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I have a gw box(xxx.yyy.zzz.1) <----same segment--tx0--->www server(xxx.yyy.zzz.2) natd.conf file set up and called with /usr/sbin/natd -m -f /etc/natd.conf works and returns www.domain.com natd.conf: interface tx0 redirect_port tcp xxx.yyy.zzz.2:http 80 redirect_port udp xxx.yyy.zzz.2:http 80 works just fine. However how do i modify existing natd.conf so that www.virtual.com will be seen once i set this up? Lets say i set up virtual server ip (xxx.yyy.zzz.8) running as an alias on www.server box, (xxx.yyy.zzz.2), what change do i make in redirect_port commands to get natd to allow www.virtual.com to be `seen` on the IN. Mel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message