From owner-freebsd-questions Mon May 17 3:27:35 1999 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (Postfix) with ESMTP id 69BEF14F4C for ; Mon, 17 May 1999 03:26:53 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id NAA66359; Mon, 17 May 1999 13:24:14 +0300 (EEST) (envelope-from ru) Date: Mon, 17 May 1999 13:24:14 +0300 From: Ruslan Ermilov To: danny Cc: freebsd-questions@FreeBSD.ORG Subject: Re: natd Message-ID: <19990517132414.B55223@relay.ucb.crimea.ua> Mail-Followup-To: danny , freebsd-questions@FreeBSD.ORG References: <01f401bea04a$d9fe5360$a800000a@274.penatlpha.com.hk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <01f401bea04a$d9fe5360$a800000a@274.penatlpha.com.hk>; from danny on Mon, May 17, 1999 at 05:51:35PM +0800 X-Operating-System: FreeBSD 3.2-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, May 17, 1999 at 05:51:35PM +0800, danny wrote: > I try to use a freebsd 3.2 stable as a gateway, and 10.0.0.8 is may pop3 > server. I add the following command in the rc.conf of the gateway. However, > it does not work. What is wrong with it? > > natd_enable="YES" > natd_interface="xl0" > natd_flags="-m -u -redirect_port tcp 10.0.0.8:110 110 -redirect_port udp > 10.0.0.8:110 110" > > Danny What's your firewall rules look like (ipfw list)? Did you configure your kernel with IPFIREWALL and IPDIVERT options? Do you have ``gateway_enable=YES'' in /etc/rc.conf? -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message