From owner-freebsd-stable Tue Apr 30 20:24:25 2002 Delivered-To: freebsd-stable@freebsd.org Received: from tgz.techgodz.com (mdsnwi13-vlan436-120.dsl.tds.net [66.222.30.120]) by hub.freebsd.org (Postfix) with ESMTP id 2FFA237B417 for ; Tue, 30 Apr 2002 20:24:21 -0700 (PDT) Received: from sonic (unknown [192.168.1.101]) by tgz.techgodz.com (Postfix) with SMTP id 0B0185DB6; Tue, 30 Apr 2002 22:24:25 -0500 (CDT) Message-ID: <009a01c1f0bf$d8e439e0$6501a8c0@techgodz.com> From: "John" To: "fictif" , References: <20020501012246.A10347@mysticjah.org> Subject: Re: ipnat.conf syntax ? Date: Tue, 30 Apr 2002 22:25:30 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I may not be the foremost expert on this, but I'm going to take a swing at this one... If you take a look at man ipnat(5), all examples include the /mask. Try this and see if it brings joy: rdr ed0 192.168.1.1/32 port 21 -> 192.168.1.2 port 21 tcp (I tested one of my rdr lines without the mask, and got: 10: no netmask on LHS 10: syntax error in "rdr" when I tried to ipnat -f /etc/ipnat.rules. HTH, John Ricker Microsoft: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming or what?" ----- Original Message ----- From: "fictif" To: Sent: Tuesday, April 30, 2002 8:22 PM Subject: ipnat.conf syntax ? Basicly, here is my trouble : mysticjah# cat ipnat.conf rdr ed0 192.168.1.1 port 21 -> 192.168.1.2 port 21 tcp mysticjah# ipnat -f ipnat.conf 1: syntax error in "rdr" What's wrong ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message