SMC 7004ABR router and ftp help needed

jagr10

Golden Member
Jan 21, 2001
1,995
0
0
I have an SMC 7004ABR router and when i try to connect via ftp (with another computer) to the computer with the router, it won't work.

Here's what i tried:

In the setup screen for the SMC router i tried entering the internal ip (ie. 192.168.2.27) and then i entered a port number for "private port". I then entered a different number for "public port"

When i try connecting from the remote computer via ftp to the computer with the router, it won't work.


My questions:

1) Can i enter any numbers in the "public port" and "private port" fields?
2) When i try connecting via ftp, am i supposed to enter the "internal ip" or the "isp ip"?
3) When i try connecting via ftp, should i use the "public port" or "private port"?

I hope someone here can help. thanks.
 

DN

Senior member
Nov 19, 2001
552
0
0
Go to setup, advanced settings section, virtual server.. Remove anything you've done to try to get this work so it doesn't interfere with the following:

Add an entry on that screen where:

Private IP: The internal IP address of the machine that is running the FTP server (make sure the FTP server is using the default port value of 21 and make sure the machine that is trying to access the FTP server is trying to connect to the external ISP given IP address and is doing so via port 21)

Private Port: 21 (Default FTP server port value)

Type: TCP

Public Port: 21 (Default FTP server port value)

This will tell the router to route all port 21 "requests" to the internal IP address (private IP) that you've entered which must be the internal IP of the machine that is running the FTP server.. Hope this helps..

 

rmblam

Golden Member
Aug 24, 2000
1,237
0
0
Personally, I would use a non standard port (anything but 21) to avoid port scans by your ISP. Depends on your ISP I guess.

You realize that the IP, the person connecting to your FTP uses, is not the local one right? That is just for the router to know where to forward port calls to.

The IP they use is the one assigned by your ISP (on the first page of the Router login).

 

DN

Senior member
Nov 19, 2001
552
0
0


<< Personally, I would use a non standard port (anything but 21) to avoid port scans by your ISP. Depends on your ISP I guess.

You realize that the IP, the person connecting to your FTP uses, is not the local one right? That is just for the router to know where to forward port calls to.

The IP they use is the one assigned by your ISP (on the first page of the Router login).
>>



Nice repeat.. Uhm..
 

Thor86

Diamond Member
May 3, 2001
7,888
7
81
If your router is using NAT implementation, then port 21 is the only way it's going to work. You won't get much success with non-standard FTP server ports behind a NAT router.
 

rmblam

Golden Member
Aug 24, 2000
1,237
0
0


<< If your router is using NAT implementation, then port 21 is the only way it's going to work. You won't get much success with non-standard FTP server ports behind a NAT router. >>



It is my understanding that that is a problem with Linksys routers. I use non standard ports just fine on my SMC as do others.

DN, I went beyond your explanation by mentioning a non standard port and where exactly to find the WAN IP which you did not specify. Nothing to get excited over.
 

jagr10

Golden Member
Jan 21, 2001
1,995
0
0
Thanks for the replies. Unfortunately, i did as mentioned above and entered the private ip then a port number (say 8500). Then for public port i put 8500. I tried connecting to my computers ftp server via my laptop and it just hangs on connecting. So i asked my friend to try and connect and he can't connect at all. What am i doing wrong? I am using serv-u as the server program. Thanks for any help.
 

Colt45

Lifer
Apr 18, 2001
19,720
1
0


<< Thanks for the replies. Unfortunately, i did as mentioned above and entered the private ip then a port number (say 8500). Then for public port i put 8500. I tried connecting to my computers ftp server via my laptop and it just hangs on connecting. So i asked my friend to try and connect and he can't connect at all. What am i doing wrong? I am using serv-u as the server program. Thanks for any help. >>



the private IP must be 21.

is you laptop on you lan? then you must connect to your private IP and private port.

ive got FTP working just fine behind a SMC router with a non-standard port. (at least it worked last time i tried it)