From owner-freebsd-stable Tue Apr 30 23:10:21 2002 Delivered-To: freebsd-stable@freebsd.org Received: from terrasat.ro (lc0.terrasat.ro [81.18.64.17]) by hub.freebsd.org (Postfix) with ESMTP id 6E61037B404 for ; Tue, 30 Apr 2002 23:10:03 -0700 (PDT) Received: from razvan (unverified [81.18.65.131]) by terrasat.ro (Vircom SMTPRS 4.3.182) with ESMTP id for ; Wed, 1 May 2002 09:09:39 +0300 From: "Razvan Cremenescu" To: Subject: RE: ipnat.conf syntax ? Date: Wed, 1 May 2002 09:09:53 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20020501012246.A10347@mysticjah.org> Importance: Normal Disposition-Notification-To: "Razvan Cremenescu" 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 ipnat.conf should look like this: map rl0 (external interface) 192.168.0.0/24 -> 0/32 (or other ip) then, in rc.local: /sbin/ipnat -CF /sbin/ipnat -f /etc/ipnat.conf Razvan Cremenescu, ================================= Network Operations Center Pitesti e-mail: cremenescu@terrasat.ro Tel: +40-48-250015 int. 25 +40-48-251112 int. 25 Mobile: +40-92-685805 ================================= Terra Sat Comp Resita 1700 CS, Romania http://www.terrasat.ro company@terrasat.ro Tel: +40-55-220012 +40-55-220013 Fax: +40-55-220117 ================================= It took the computing power of three C-64s to fly to the Moon. It takes an 800Mhz P3 to run Windows XP. Something is wrong here. -----Original Message----- From: owner-freebsd-stable@FreeBSD.ORG [mailto:owner-freebsd-stable@FreeBSD.ORG] On Behalf Of fictif Sent: Wednesday, May 01, 2002 4:23 AM To: freebsd-stable@freebsd.org 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