From owner-freebsd-questions@FreeBSD.ORG Tue Oct 12 07:05:42 2004 Return-Path: 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 7F8F516A4DB for ; Tue, 12 Oct 2004 07:05:41 +0000 (GMT) Received: from orion.frasa.net (orion.frasa.net [195.241.98.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF5DA43D53 for ; Tue, 12 Oct 2004 07:05:17 +0000 (GMT) (envelope-from markfra@ws01.frasa.net) Received: from localhost (orion [127.0.0.1]) by orion.frasa.net (Postfix) with ESMTP id 1B104565 for ; Tue, 12 Oct 2004 09:05:16 +0200 (CEST) Received: from orion.frasa.net ([127.0.0.1]) by localhost (orion.frasa.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 60776-01 for ; Tue, 12 Oct 2004 09:05:13 +0200 (CEST) Received: from ws01.frasa.net (ws01.frasa.net [192.168.0.2]) by orion.frasa.net (Postfix) with ESMTP id 87C053FC for ; Tue, 12 Oct 2004 09:05:13 +0200 (CEST) Received: by ws01.frasa.net (Postfix, from userid 1000) id B5BD2A2E8A; Tue, 12 Oct 2004 09:06:20 +0200 (CEST) Date: Tue, 12 Oct 2004 09:06:20 +0200 From: Mark Frasa To: freebsd-questions@freebsd.org Message-ID: <20041012070620.GC14258@ws01.frasa.net> References: <20041012041701.86613.qmail@web21521.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aT9PWwzfKXlsBJM1" Content-Disposition: inline In-Reply-To: <20041012041701.86613.qmail@web21521.mail.yahoo.com> X-GPG-Key: "CDFB B007 5DD1 8382 2755 1EE5 F5FD 519B E33F 430C" User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd at frasa.net Subject: Re: how to redirect multiple ports in ipnat.conf ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mark Frasa List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2004 07:05:42 -0000 --aT9PWwzfKXlsBJM1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2004.10.11 21:17:01 -0700, Sex Maniac wrote: > Hello, I am using FreeBSD 4.9. >=20 > 1. Using NATD > I previously using "natd". In my natd.conf there was a > line like this : >=20 > redirect_port tcp 192.168.0.2:2000-3000 2000-3000 >=20 > 2. Using IPNAT > Recently I switched to ipnat. > So I am using "ipnat" now. >=20 > But how do I make a replacement a line like above in > ipnat.conf ? >=20 > Thanks before, >=20 > My Regards, >=20 > -Galon Aerosmith- >=20 >=20 > =09 > _______________________________ > Do you Yahoo!? > Declare Yourself - Register online to vote today! > http://vote.yahoo.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" =46rom the example file: /usr/share/examples/ipfilter/ipnat.conf.sample map ed1 192.168.0.0/24 -> 192.168.1.110/32 portmap tcp/udp 40000:65000 Mark. --aT9PWwzfKXlsBJM1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBa4Js9f1Rm+M/QwwRAmyiAJ96ukT+Kb4YawOBIlcasCseA4OqVACcCxDx 1WzF27ZK24ynCkmP/aTRBdA= =eyQR -----END PGP SIGNATURE----- --aT9PWwzfKXlsBJM1--