From owner-freebsd-questions Sun Dec 15 13:58:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1BF237B401 for ; Sun, 15 Dec 2002 13:58:40 -0800 (PST) Received: from foo104-144.visit.se (foo104-144.visit.se [62.119.104.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id A088643EDE for ; Sun, 15 Dec 2002 13:58:39 -0800 (PST) (envelope-from martin@foo104-144.visit.se) Received: from foo104-144.visit.se (localhost [127.0.0.1]) by foo104-144.visit.se (8.12.6/8.12.6) with ESMTP id gBFLwWoS001395 for ; Sun, 15 Dec 2002 22:58:32 +0100 (CET) (envelope-from martin@foo104-144.visit.se) Received: (from martin@localhost) by foo104-144.visit.se (8.12.6/8.12.6/Submit) id gBFLwROd001394 for freebsd-questions@freebsd.org; Sun, 15 Dec 2002 22:58:27 +0100 (CET) Date: Sun, 15 Dec 2002 22:58:27 +0100 From: Martin Karlsson To: freebsd-questions@freebsd.org Subject: converting natd syntax to ipnat Message-ID: <20021215215826.GA1382@foo104-144.visit.se> Mail-Followup-To: Martin Karlsson , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi list, could someone please help me translate the following natd-snippet to ipnat syntax?: use_sockets yes same_ports yes unregistered_only yes redirect_port tcp 10.0.1.1:21 21 I'm (more or less) following the tutorial on how to set up a lightweight FTP jail with NAT, which can be found on URL:http://ezine.daemonnews.org/200212/ftpjail.html I've got everything up and running _except_ those pesky rules. I have read up on ipnat, but it seems I can't get it to work. I'm obviously missing something, so I would really appreciate some help. Thanks in advance, /Martin -- _ Martin Karlsson ( ) ······················································· X <- the ascii ribbon campaign · / \ <- against html and proprietary attachments in e-mail· To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message