redirect_port
John DeStefano
deesto at yahoo.com
Fri Jul 25 06:44:17 PDT 2003
"Derrick Ryalls" <ryallsd at 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
More information about the freebsd-questions
mailing list