Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
FreeBSD Security Archives: RE: mapping ports from outside to in

RE: mapping ports from outside to inside (with ipfw ?)

Oleg Y. Ivanov (g16mail.ru)
Thu, 16 Sep 1999 18:54:23 +0400

>I did that....it talks about the -redirec_address command, but it applies as
>mentioned to IP only....so all traffic would be destined for the internal
>machine....not just ONE port, which is what I am looking for
what about -redirect_port ?
try this :

use_sockets yes
same_ports yes
deny_incoming no
dynamic yes
interface <your_outside_intf_here>
redirect_port <proto> <internal_host>:<port> <external_port>
 Sincerely Yours , Oleg Y. Ivanov : sysadmin & DBA of UzDaewoo Centre , Moscow

PGP fingerprint : EDDD D812 E895 FFF1 BA34 39A4 044E 6E8D 0C0E 64FC

This archive was generated by hypermail 2.0b3 on Thu Sep 16 1999 - 09:58:51 CDT