Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2004 09:06:20 +0200
From:      Mark Frasa <mark@frasa.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: how to redirect multiple ports in ipnat.conf ?
Message-ID:  <20041012070620.GC14258@ws01.frasa.net>
In-Reply-To: <20041012041701.86613.qmail@web21521.mail.yahoo.com>
References:  <20041012041701.86613.qmail@web21521.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041012070620.GC14258>