winxp port forward

  • 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

Assuming the Internet connection on the XP box is a public IP address
and you are using ICS to "share" the connection, you should be able to
just specify in the services page port 20 and 21 (both are required for
FTP) to the IP address of which ever machine is hosting the ftp server.
If you have a NAT router ahead of the XP box, you'll first need to
forward those ports to the XP machine.

....kurt
 
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
Also, are you actually trying this from another site? Many routers do
not support port forwarding when accessing the public Interface from the
router's LAN interface.

....kurt
 
Back
Top