redirect_port

Matthew Ryan matt at overdose.com
Fri Jul 25 03:02:55 PDT 2003


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 at overdose.com
Matt Ryan
Director, Loose Connection Ltd

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


More information about the freebsd-questions mailing list