Date: Tue, 22 Dec 2009 18:24:27 +0200 From: =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= <kes-kes@yandex.ru> To: Tiago <tscolari@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Help with ipfw please Message-ID: <1265047402.20091222182427@yandex.ru> In-Reply-To: <614b39480912220459l378faa15ufa7514ce2c1d5825@mail.gmail.com> References: <614b39480912220459l378faa15ufa7514ce2c1d5825@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Здравствуйте, Tiago.
Вы писали 22 декабря 2009 г., 14:59:50:
T> Im trying to add a basic rule in my ipfw.
T> My server has 2 network address, one for external access (x.x.x.x) and other
T> for the local network(y.y.y.y).
T> The mysql is binded to the local network, but I would like to allow my home
T> computer (z.z.z.z) to connect to the mysql by the external ip.
T> so basicaly im trying to do is: if request comes from z.z.z.z to
T> y.y.y.y:3306 redirect to x.x.x.x:3306
T> I tryed some configuration but I ended locked outside the machine...
You need -redirect_port
man natd:
For example, the argument
tcp inside1:telnet 6666
--
С уважением,
Коньков mailto:kes-kes@yandex.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1265047402.20091222182427>
