redirect_port

Derrick Ryalls ryallsd at datasphereweb.com
Thu Jul 24 18:21:36 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
> 

Copied from my natd.conf

redirect_port   tcp     192.168.0.20:22      5520
redirect_port   udp     192.168.0.20:22      5520

The 5520 is the outside port number




More information about the freebsd-questions mailing list