From owner-freebsd-questions Wed Jun 17 11:55:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA12233 for freebsd-questions-outgoing; Wed, 17 Jun 1998 11:55:54 -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 LAA12228 for ; Wed, 17 Jun 1998 11:55:52 -0700 (PDT) (envelope-from melk@switchpwr.com) Received: from switch2.switchpwr.com (root@switch2.switchpwr.com [12.14.48.20]) by switch2.switchpwr.com (8.8.7/8.8.7) with SMTP id OAA19501 for ; Wed, 17 Jun 1998 14:52:49 -0400 Message-ID: <35881081.505B133C@switchpwr.com> Date: Wed, 17 Jun 1998 18:52:49 +0000 From: mel kravitz X-Mailer: Mozilla 3.01GoldC-Caldera (X11; I; Linux 2.0.31 i586) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: natd redirect www problem -(2)questions Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi,(v2.2.6) (1)I have a firewall/DNS box-`switch1`( xxx.yyy.zzz.10), with a www server-`switch2` at (xxx.yyy.zzz.11), i want all http traffic to go here, natd.conf file on the firewall box: use_sockets port 6668 interface tx0 redirect_port tcp xxx.yyy.zzz.11:http 80 redirect_port udp xxx.yyy.zzz.11:http 80 My DNS db.domain.com file listed for CNAME records, www IN CNAME switch2 -as a result http traffic to http://www.domain.com is lost? While http://domain.com resolves fine? (2)I wish to run a virtual(apache) server from switch2, i have assigned an alias tx0:0 xxx.yyy.zzz.18, on switch2, set up httpd.conf file for how do i change natd.conf file for this? I currently have an `open` firewall policy to let the dust settle. Mel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message