Help with ipfw please
Коньков Евгений
kes-kes at yandex.ru
Tue Dec 22 16:24:27 UTC 2009
Здравствуйте, 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 at yandex.ru
More information about the freebsd-questions
mailing list