Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

Subject: DI-524Up Port Configurat° for FTP

Original Message
Name: Mustaines
Date: April 14, 2008 at 08:10:52 Pacific
Subject: DI-524Up Port Configurat° for FTP
OS: Windows Vista Familly Pre
CPU/Ram: Core 2 Duo / 3Go
Comment:
Hi all,
I'm having trouble accessing to my friend FTP server and I need some help. I have a D-Link 524Up Router, when I remove it, I can connect to the FTP server without any trouble, but with it doesn't work. I have set a fix local Ip adress but I'm having trouble forwording port and correctly using the nat.There is 3 way to configure those thing in router interface: Virtual Server, Application and FireWall. Can anybody help with configuring it ?
[URL=http://imageshack.us][IMG]http://img242.imageshack.us/img242/1481/virtualserverax0.jpg[/IMG][/URL]
[URL=http://imageshack.us][IMG]http://img517.imageshack.us/img517/729/applicationlx5.jpg[/IMG][/URL]
[URL=http://imageshack.us][IMG]http://img242.imageshack.us/img242/8177/firewallue9.jpg[/IMG][/URL]

Report Offensive Message For Removal

Response Number 1
Name: paulsep
Date: April 14, 2008 at 14:05:18 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
I'm assuming that you try to connect to your friends FTP server through the internet, there is nothig you have to forward.
You need to forward ports only, if YOU will provide services like FTP though the Internet.
Have you tried to access any other FTP server in the Internet?

Report Offensive Follow Up For Removal

Response Number 2
Name: Mustaines
Date: April 14, 2008 at 19:28:20 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Yes it's through internet. I just tried to connect to Intel and ea ftp's and it worked fine. But with my friends ftp it's still not working. I get a [R]530 PORT error.
I have found I great website explaining the connection for ftp : http://www.slacksite.com/other/ftp....
Sounds like There is 4 thing to do:
* FTP server's port 21 from anywhere (Client initiates connection)
* FTP server's port 21 to ports > 1023 (Server responds to client's control port)
* FTP server's port 20 to ports > 1023 (Server initiates data connection to client's data port)
* FTP server's port 20 from ports > 1023 (Client sends ACKs to server's data port)
I know that this is for the server side, but I'm also interested, but I don't know what to put in my router interface :( any ideas ?

Report Offensive Follow Up For Removal

Response Number 3
Name: Curt R
Date: April 15, 2008 at 07:34:58 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
As paulsep said, you shouldn't have to do anything on your router to connect to a remote ftp site.

I don't understand, and can't explain, why you can connect with your router out of the mix and can't with it in. I suspect you've been playing around with firewall settings and have disallowed ftp type connections. Have you been tweaking settings? Added/changed any rules regarding the ftp ports?

What you could do to test if it's settings in your router is to reset it to factory defaults and try connecting to your friends ftp site. If it works, you know it's something you did.

You will want to backup your present config before resetting it just in case that's not the problem. If it's not, just copy your config back on and it'll be back to where it was in a minute or two without you having to redo all the settings manually.


Report Offensive Follow Up For Removal

Response Number 4
Name: paulsep
Date: April 15, 2008 at 08:38:55 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
I think, the firewall at your friends side is misconfigured.
FTP server needs port 20, 21, and after that the ftp at server side needs to be able to use one TCP high port out of the range 1024 to 65535 to communicate.
So it's always a good idea to use stateful packet filtering for FTP server.
FTP is a mess for firewall admins.

Report Offensive Follow Up For Removal

Response Number 5
Name: Mustaines
Date: April 15, 2008 at 08:51:31 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Yep, That's exactly what I did. I have maid a bckp and reset to factory, even update the firmware but stil, router in -> no connection.
I have Tried with 4 diffrent ftp client:
FlashFxp, CuteFtp, FTP expert and BulletProof FTP Client, all the same. I presume that something must be wrong with he's configuration. He is using BulletProof FTP Server and he has put he's modem in router mode. I told him to uncheck the "Block Server-to-Server transfert (FXP, FTP Bounce attack) didn't helped. Anyway, the thing I would like to understand is how exactly work the routeur interface. In Virtual server There is Private and public port, What's the diffrence ? In Application, I can put a range of ports: Trigger port and again public port.
(See pictures in my first post) In the BulletProof FTP Server options, I can specify a range of port for passive mode, I guess it have to match with the router but dunno where to put it in the router interface :S If only UPnP worked correctly... da** routers ^^

Report Offensive Follow Up For Removal

Response Number 6
Name: Mustaines
Date: April 15, 2008 at 09:13:15 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Re: Paulsep

You mean FTP Server Always need port 20 and 21 ?
Because when starting the ftp server, he and I have chosen a diffrent port to listen to.

me Listen on port number: 48625
him --> 59999

Maybe I need to open 48625 AND 48624
am I right ?


Report Offensive Follow Up For Removal

Response Number 7
Name: paulsep
Date: April 15, 2008 at 09:23:38 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
If he wants to use a another port for ftp, he has to add a new rule in "Advanced / Virtual Server".
Private IP: <the_ip_address_of_ftp_server>
Protocol:Type: TCP
Private Port: <port configured in BulletProof>
Public Port: <port configured in BulletProof> (same as Private Port)

That's all you need to do.


Report Offensive Follow Up For Removal

Response Number 8
Name: Mustaines
Date: April 15, 2008 at 09:37:47 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
oops maybe I've make myself misundertoob, My english is quite good, I'm french lol sry
Let's forget about me trying to connect to he's server.
I'm the one owning the DI-524Up. I have 3 computers, behind the DI-524Up:
Compt 1 : 192.168.0.100
Compt 2 : 192.168.0.101
Compt 3 : 192.168.0.102

Gateaway: 192.168.0.1

I have set this in hard in the TCP/IP IPV4 configuration + dns.

If I want to start a ftp server on my computer 1 on port 48625.
I go to "Advanced / Virtual Server"
Private IP : 192.168.0.100
Protocol:Type: TCP
Private Port: 48625
Public Port: 48625

This is ok, but it looks like the 1st step only. They say:

From the server-side firewall's standpoint, to support passive mode FTP the following communication channels need to be opened:

* FTP server's port 21 from anywhere (Client initiates connection)
* FTP server's port 21 to ports > 1023 (Server responds to client's control port)
* FTP server's ports > 1023 from anywhere (Client initiates data connection to random port specified by server)
* FTP server's ports > 1023 to remote ports > 1023 (Server sends ACKs (and data) to client's data port)

1st step is done, but what about the 3 others ?


Report Offensive Follow Up For Removal

Response Number 9
Name: paulsep
Date: April 15, 2008 at 09:51:03 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
I think, there are no other steps to accomplish, because the routers firewall uses Stateful Packet Filtering. That means, if a connection is established, the router opens the additional needed ports for that connection for the time of that connection and closes the additional ports, when at disconnection of e.g. FTP session.

Have you tried, whether the port 48625 is open?
You can use online port scanner to do so.
http://www.auditmypc.com/


Report Offensive Follow Up For Removal

Response Number 10
Name: Mustaines
Date: April 15, 2008 at 09:54:46 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Performing a Port Scan

Report Offensive Follow Up For Removal

Response Number 11
Name: paulsep
Date: April 15, 2008 at 09:59:20 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
First check online port scan:
http://www.auditmypc.com/

Report Offensive Follow Up For Removal

Response Number 12
Name: Mustaines
Date: April 15, 2008 at 10:00:50 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Ouch, What the Hell :

We detected that you are using a proxy server of some type. This means that if we continue, we would be scanning a computer other than your own. Large companies, such as AOL and others, use proxy and cache servers to speed up your connection to the Internet.

We have provided a link to an advanced section of this site that may be able to determine your correct IP address and allow you to continue the test; we can not continue at this time. If we are mistaken, please let us know! Thank you.


Report Offensive Follow Up For Removal

Response Number 13
Name: Mustaines
Date: April 15, 2008 at 10:02:18 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
I have tryed the [Ranged Security Scan] same results :(

Report Offensive Follow Up For Removal

Response Number 14
Name: paulsep
Date: April 15, 2008 at 10:08:34 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Open or closed port 48625?

Report Offensive Follow Up For Removal

Response Number 15
Name: Mustaines
Date: April 15, 2008 at 10:10:14 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
It's not telling me :(

I'll try with another website


Report Offensive Follow Up For Removal

Response Number 16
Name: Mustaines
Date: April 15, 2008 at 10:12:36 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Wow, All closed :

Le port TCP 48620 est fermé
Le port TCP 48621 est fermé
Le port TCP 48622 est fermé
Le port TCP 48623 est fermé
Le port TCP 48624 est fermé
Le port TCP 48625 est fermé
Le port TCP 48626 est fermé
Le port TCP 48627 est fermé
Le port TCP 48628 est fermé
Le port TCP 48629 est fermé


Report Offensive Follow Up For Removal

Response Number 17
Name: paulsep
Date: April 15, 2008 at 10:14:58 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
So is there running the windows firewall too?
Maybe this odd thing is blocking the port.

Report Offensive Follow Up For Removal

Response Number 18
Name: paulsep
Date: April 15, 2008 at 10:18:11 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Ah, BulletProof must be runnig during the port scan, ok?

Report Offensive Follow Up For Removal

Response Number 19
Name: Mustaines
Date: April 15, 2008 at 10:21:44 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Yep I lunched it, same results

Report Offensive Follow Up For Removal

Response Number 20
Name: paulsep
Date: April 15, 2008 at 10:24:21 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Windows Firewall?
Running or stooped?

Report Offensive Follow Up For Removal

Response Number 21
Name: Mustaines
Date: April 15, 2008 at 10:25:18 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
BulletProof FTP Server Is allowed in windows Firewall and I added the port just in case, but still not open. Maybe it needs a client ftp to access the port

Report Offensive Follow Up For Removal

Response Number 22
Name: Mustaines
Date: April 15, 2008 at 10:26:09 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Did you get my email ?

Report Offensive Follow Up For Removal

Response Number 23
Name: paulsep
Date: April 15, 2008 at 10:27:50 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
No !!!
I would recommend to disable Windows Firewall just for testing.
Then, do an online port scan again.
Tell me, what happens.

Report Offensive Follow Up For Removal

Response Number 24
Name: Mustaines
Date: April 15, 2008 at 10:29:52 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Done, Same results

Report Offensive Follow Up For Removal

Response Number 25
Name: Mustaines
Date: April 15, 2008 at 10:34:43 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
I guess I'll have to remove the router everytime I want to use FTP.

Thanks a lot for your help and your time.


Report Offensive Follow Up For Removal

Response Number 26
Name: paulsep
Date: April 15, 2008 at 10:36:39 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Any other setting for the ftp server done in the router firewall, like port triggering or something else?

And someting else.
Open a dos box (start / run / cmd)
and try a
netstat -anb | more
and look, whether BulletProof is listenning to the configured port.


Report Offensive Follow Up For Removal

Response Number 27
Name: Mustaines
Date: April 15, 2008 at 10:40:12 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
I had put some things, but as nothing worked, I removed all the entries. Now There's only the one you told me : "Advanced / Virtual Server"...

I'll try the dos thing and let you know


Report Offensive Follow Up For Removal

Response Number 28
Name: Mustaines
Date: April 15, 2008 at 10:42:37 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
lol everything is at Zero :

http://img166.imageshack.us/my.php?...


Report Offensive Follow Up For Removal

Response Number 29
Name: Mustaines
Date: April 15, 2008 at 10:45:28 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
sry didn't noticed that I had to press a key LOOL what a noob. let me check again

Report Offensive Follow Up For Removal

Response Number 30
Name: Mustaines
Date: April 15, 2008 at 10:48:51 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
I have an :

[svhost.exe]
UDP [::]:49748
FDResPub

but nothing on 48625


Report Offensive Follow Up For Removal

Response Number 31
Name: Mustaines
Date: April 15, 2008 at 10:50:49 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
I have Check With TCP Viewer and it is listening:

System:-1 TCP PC-de-Mustaine:48625 PC-de-Mustaine:0 LISTENING


Report Offensive Follow Up For Removal

Response Number 32
Name: paulsep
Date: April 15, 2008 at 10:55:10 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Thats not correct.
BulletProof must be running and switched to Online.
Then on an netstat -anb | more you should see something like this:
TCP 0.0.0.0:48625 0.0.0.0:0 LISTENING
[G6FTPSrv.exe]


Report Offensive Follow Up For Removal

Response Number 33
Name: Mustaines
Date: April 15, 2008 at 10:58:41 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
ok I try again

Report Offensive Follow Up For Removal

Response Number 34
Name: Mustaines
Date: April 15, 2008 at 11:00:03 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Yes I got it :

TCP 0.0.0.0:48625 0.0.0.0:0 LISTENING

Report Offensive Follow Up For Removal

Response Number 35
Name: paulsep
Date: April 15, 2008 at 11:01:50 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Why is it TCP Port 49152 ???

Report Offensive Follow Up For Removal

Response Number 36
Name: Mustaines
Date: April 15, 2008 at 11:02:34 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
sry I couldn't select the right line but It is in :

http://img238.imageshack.us/my.php?...


Report Offensive Follow Up For Removal

Response Number 37
Name: paulsep
Date: April 15, 2008 at 11:12:46 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Ok, and now again an online scan to the given port with exactly this settings.

Report Offensive Follow Up For Removal

Response Number 38
Name: Mustaines
Date: April 15, 2008 at 11:20:07 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Yup, It's open:

Port
Status Protocol and Application

48624
Closed Unknown Protocol for this port
Unknown Application for this port

48625
OPEN! Unknown Protocol for this port
Unknown Application for this port

48626
Closed Unknown Protocol for this port
Unknown Application for this port


Report Offensive Follow Up For Removal

Response Number 39
Name: paulsep
Date: April 15, 2008 at 11:24:42 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Ok, now it should work.
Try to connect to your FTP via Internet.
Keep in mind, you can not connect to your FTP server from a PC whithin your network via Internet.
That will not work.
It's like you ring at your door from the outside and open your door from the inside by yourself.

You need another Internet line to connect to your FTP.


Report Offensive Follow Up For Removal

Response Number 40
Name: Mustaines
Date: April 15, 2008 at 11:27:27 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
Ok Thanks dude !!

Report Offensive Follow Up For Removal

Response Number 41
Name: paulsep
Date: April 15, 2008 at 11:28:16 Pacific
Subject: DI-524Up Port Configurat° for FTP
Reply: (edit)
No problem :-)

Report Offensive Follow Up For Removal



Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: DI-524Up Port Configurat° for FTP

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software



Version Tracker Pro
Keep your software current and secure, effortlessly

Click Here for a Free Scan

Driver Agent
Automatically find the latest drivers for your computer.
Click Here for a Free Scan



The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC