redirect_port

Sunil Sunder Raj unixtools at hotmail.com
Fri Jul 25 05:16:29 PDT 2003


Hi,

/sbin/natd -redirect_port tcp x.x.x.x:z z -redirect_port tcp x.x.x.x:y y -n 
rl0

Regards
SSR

>From: Matthew Ryan <matt at overdose.com>
>To: freebsd-questions at FreeBSD.ORG
>Subject: redirect_port
>Date: Fri, 25 Jul 2003 02:12:45 +0100
>
>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
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to 
>"freebsd-questions-unsubscribe at freebsd.org"

_________________________________________________________________
Travel plans? Click here. http://www.msn.co.in/Travel Sit back & relax!



More information about the freebsd-questions mailing list