Date: Fri, 25 Jul 2003 06:44:13 -0700 (PDT) From: John DeStefano <deesto@yahoo.com> To: ryallsd@datasphereweb.com Cc: freebsd-questions@freebsd.org Subject: re: redirect_port Message-ID: <20030725134413.24291.qmail@web40603.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
"Derrick Ryalls" <ryallsd@datasphereweb.com> wrote: >> Hi there, >>=20 >> Using nat on my gateway to forward traffic on many ports the same=20 >> internal machine, what is the correct syntax? >>=20 >> redirect_port x.x.x.x zz zz >> redirect_port x.x.x.x yy yy >> redirect_port x x x x nn nn >>=20 >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 This could be the solution I was seeking... If I have opened, say, port 50000 for incoming ftp traffic, would it be as simple as: redirect_port tcp 192.168.0.20:21 50000 redirect_port udp 192.168.0.20:21 50000 If so, what do I do allow outgoing ftp traffic/packets? Thanks! ~John --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030725134413.24291.qmail>