From owner-freebsd-questions Mon Nov 22 10:35:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mailhub.scl.ameslab.gov (mailhub.scl.ameslab.gov [147.155.137.127]) by hub.freebsd.org (Postfix) with ESMTP id 5D56E14CEC for ; Mon, 22 Nov 1999 10:35:06 -0800 (PST) (envelope-from ghelmer@scl.ameslab.gov) Received: from demios.ether.scl.ameslab.gov ([147.155.137.54]) by mailhub.scl.ameslab.gov with esmtp (Exim 3.02 #1) id 11pyHq-000Mgf-00; Mon, 22 Nov 1999 12:34:02 -0600 Date: Mon, 22 Nov 1999 12:33:59 -0600 From: Guy Helmer To: James Gill Cc: Capriotti , freebsd-questions@FreeBSD.ORG Subject: Re: NATd and redirect_port In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 22 Nov 1999, James Gill wrote: > I have been using lines in /etc/rc.natd to do this: > > redirect_port tcp 10.1.1.10:25 25 > redirect_port udp 10.1.1.10:25 25 > redirect_port tcp 10.1.1.10:110 110 > redirect_port udp 10.1.1.10:110 110 > > (with some other lines like natd_enable, natd_interface, and natd_flags > put up in rc.conf) The redirect_port lines look fine to me (the UDP stuff shouldn't be necessary). What does "ipfw show" print when you execute it? Guy Guy Helmer, Ph.D. Candidate, Iowa State University Dept. of Computer Science Research Assistant, Ames Laboratory --- ghelmer@scl.ameslab.gov Research Assistant, Dept. of Computer Science --- ghelmer@cs.iastate.edu Teaching Assistant, ComS 652 Distributed Operating Systems http://www.cs.iastate.edu/~ghelmer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message