TCP port redirection

  • Thread starter Thread starter Dr. Crono
  • Start date Start date
D

Dr. Crono

Hi! I've a little problem.

I have a WINXP PRO machine (192.168.0.1) connected to internet (151.44.x.y)
and a LINUX laptop (192.168.0.2) with an ftp server (port 21). They are in a
LAN. I can access the ftp from windows with ftp://192.168.0.2 but not with
the internet address http://151.44.x.y (so users from internet can't access
the ftp).

I know that i have to use the port redirection but it simply doesn't work.
Can someone tell me the exact procedure to activate that function? E.g.
right click on the internet connection or in the lan icon? Enable the
firewall or not? Add a firewall rule or not?


PS: with rinetd.exe it works perfectly, using this simple rule:
0.0.0.0 21 192.168.0.2 21
But i want to use the "windows way" :)


Thanks
 
"Dr. Crono" said:
Hi! I've a little problem.

I have a WINXP PRO machine (192.168.0.1) connected to internet (151.44.x.y)
and a LINUX laptop (192.168.0.2) with an ftp server (port 21). They are in a
LAN. I can access the ftp from windows with ftp://192.168.0.2 but not with
the internet address http://151.44.x.y (so users from internet can't access
the ftp).

I know that i have to use the port redirection but it simply doesn't work.
Can someone tell me the exact procedure to activate that function? E.g.
right click on the internet connection or in the lan icon? Enable the
firewall or not? Add a firewall rule or not?


PS: with rinetd.exe it works perfectly, using this simple rule:
0.0.0.0 21 192.168.0.2 21
But i want to use the "windows way" :)


Thanks

If you've enabled Internet Connection Sharing on the XP Pro machine
and are using the Windows Firewall, you can find a detailed
description of the procedure by running Help and Support and searching
for the topic "To edit a service definition for an individual
connection".

If that's not your setup, how is the Linux laptop getting Internet
access through XP Pro, and what firewall program is running on XP Pro?
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
Hi

You have to change the ftp server application to work with other port.

Example. 55555, if you have a software firewall and a Router you have to
open port 55555 toward the local IP of the computer with the server.

When you use the ftp client form the outside you type
http://151.44.x.y:55555

Jack (MVP-Networking).
 
Back
Top