From owner-freebsd-questions Mon May 17 3:37:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from server.pentalpha.com.hk (unknown [210.176.109.29]) by hub.freebsd.org (Postfix) with ESMTP id BFB1814CA5 for ; Mon, 17 May 1999 03:37:26 -0700 (PDT) (envelope-from danny@pentalpha.com.hk) Received: from domain (danny [10.0.0.111]) by server.pentalpha.com.hk (8.9.1a/8.9.1) with SMTP id SAA29336; Mon, 17 May 1999 18:34:33 +0800 (CST) Message-ID: <02e701bea050$d53068e0$6f00000a@domain.pentalpha.com.hk> From: "danny" To: "Ruslan Ermilov" Cc: Subject: Re: natd Date: Mon, 17 May 1999 18:34:24 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 1) ipfw list: with firewall_type="open" and nothing more (all pass) 2) my kernel with IPFIREWALL and IPDIVERT options. 3) also ``gateway_enable=YES'' in /etc/rc.conf all done Danny -----Original Message----- From: Ruslan Ermilov To: danny Cc: freebsd-questions@FreeBSD.ORG Date: Monday, May 17, 1999 6:26 PM Subject: Re: natd >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