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]
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?
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 ?
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.
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.
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 ^^
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)
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)
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/
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.
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é
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
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.
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]
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.
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