Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2003 11:02:53 +0100
From:      Matthew Ryan <matt@overdose.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   redirect_port
Message-ID:  <27F07BEF-BE87-11D7-9917-0030654886A6@overdose.com>

next in thread | raw e-mail | index | archive | help
Hi there,

Using nat on my gateway to forward traffic on many ports the same 
internal machine, what is the correct syntax?

redirect_port x.x.x.x zz zz
redirect_port x.x.x.x yy yy
redirect_port x x x x nn nn

or

redirect_port x.x.x.x zz,yy,nn zz,yy,nn

or with some other separator or what?

Thanks - this is driving me up the wall, the only way I can find is to 
redirect a whole range,

redirect_port xx-nn xx-nn

but some of the ports in the range are insecure so that means I have to 
secure the internal machine which kind of defeats the object of having 
a firewall on my external machine in the first place.

Thanks again

Matthew Ryan

Matt@overdose.com
Matt Ryan
Director, Loose Connection Ltd

---------------------------------------
Matt@looseconnection.com
http://looseconnection.com
Office/Fax		07092 013375
Mobile		07977 237476
---------------------------------------
Wireless Networking & Internet Services



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27F07BEF-BE87-11D7-9917-0030654886A6>