Solved

FTP Client & Server woes

Posted on 2013-12-13
13
436 Views
Last Modified: 2014-01-28
I am using a Netopia 3347 DSL Switch to connect to the internet. Behind that I have a Linsys VPN Firewall router.

Internet - Netopia - DMZ - Linksys - LAN

I have an exchange server and FTP server in the DMZ

Currently my workstations on the LAN can access most all web objects just fine. However, they can not access FTP.  Not the FTP server in the DMZ or any on the web.

Let's start with clients inability to access any ftp site first.

IPs

Public

68.XXX.XXX.105,6,7,8,9

Netopia DSL Switch

68.XXX.XXX.110
192.168.10.110

Netopia ipmaps .105 to .198  and .108 to .111

Exchange server 192.168.10.198  and 192.168.101.4 (dual nics)
FTP Server  192.168.10.111

Linksys

192.168.10.2
192.168.101.2

LAN - 192.168.101.

LAN workstations can see second NIC on exchange server.  Email sends & recieves just fine.

Lan workstations (typ. Win 7 64) can not connect to FTP sites.

My particular workstation has ports 20,21,990 open in firewall (TCP)  and I can not connect to ftp://ftpmdot.state.mi.us/ (as an example) with either firefox or blaze ftp.
0
Comment
Question by:hgj1357
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
13 Comments
 
LVL 5

Expert Comment

by:tercex11
ID: 39717877
Here are a few things to look at.

Go to a command prompt and try to telnet to port 21 on that site
e.g. "telnet ftpmdot.state.mi.us 21"
and see if it connects. If it does connect, then ftp is not blocked at the firewall and the router and you need to check the local PC. . If you cannot get out on the port, then check the log on the firewall and see if it is dropping or forwarding the packets. If it is not forwarding then it sounds like a firewall rule issue. Check the firewall and NAT rules. If you do not see the packets hitting the firewall then make sure you do not have a local firewall running on the PC that could be blocking you and causing the issue.

Good luck,
0
 
LVL 2

Author Comment

by:hgj1357
ID: 39717946
...Could not open a connection with the host, on port 21: Connect failed

Neither harware units have detailed logs of firewall activity.

How should the two be set up?  Should I pinhole 20,21 etc or should I not need to do that?
0
 
LVL 10

Expert Comment

by:remmett70
ID: 39717996
Can you FTP from your exchange server to your FTP server?  Since they are both on the DMZ
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 2

Author Comment

by:hgj1357
ID: 39718022
Yes.  Mail server can FTP to FTP server.
0
 
LVL 2

Author Comment

by:hgj1357
ID: 39718059
SHould I pinhole ports 20,21,990 across the netopia?  If so, what private side IP should I use?  The private side of the netopia? The wan ip of the linksys?
0
 
LVL 10

Expert Comment

by:remmett70
ID: 39718147
Try to FTP outside from the DMZ.

I would take one of the workstations, give it an 192.168.10.x and throw it in the DMZ, verify that it can FTP to both the internet and the FTP server while on the DMZ.  If it can, than it is the Linksys that is blocking.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39718169
The FTP protocol uses many ports besides 20 and 21.  When I use Firefox to connect to that page, the data is returned at port 30463.  These are called 'ephemeral ports'.  Here's an article about them:  http://en.wikipedia.org/wiki/Ephemeral_port  I can't find one that strictly applies to FTP.
0
 
LVL 2

Author Comment

by:hgj1357
ID: 39718287
From a remote PC (home) I can ping the FTP server. When I try to connect, I get close. I get prompted for username / password - which is good, but it fails on authentication.
0
 
LVL 2

Author Comment

by:hgj1357
ID: 39718290
..although I can telnet in.  So, I need to figure out the security on the cerebus server, but that's not the issue here. At least right now.
0
 
LVL 16

Expert Comment

by:AlexPace
ID: 39726916
From a remote PC (home) I can ping the FTP server. When I try to connect, I get close. I get prompted for username / password - which is good, but it fails on authentication.

This means you connected on port 21 but failed to open a data channel.  The data channel port is negotiated on the fly at runtime.  If you were using the DOS ftp.exe client then it was attempting to use an Active Mode data channel.  In active mode, the client machine sends its IP address to the server along with the port number where it will be waiting for the server to connect.  The port number is above 1024 and below 65K.  This often fails for two reasons: (1) the client sends a private IP address that the server can't reach like 192.168.x.x or 10.x.x.x and (2) many firewalls are configured by default to disallow inbound connections from some random machine out on the internet.  

Many firewalls can be configured to snoop the FTP control channel and watch for the command that asks for an Active Mode data channel.  When this happens, the firewall replaces the internal private address with a public address and then forwards the FTP server's inbound connection request to the correct client computer on the fly.  Once upon a time this was a high-end feature but now it is in consumer-level cable modems.
0
 
LVL 2

Accepted Solution

by:
hgj1357 earned 0 total points
ID: 39746397
I fixed the problem by using https on port 443
0
 
LVL 59

Expert Comment

by:LeeTutor
ID: 39814516
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
Hello All, I have been training on Multicast for a while now and whenever I start the topic , I find out that my friends /  Colleagues mention that they do not know how to test Multicast Joins. As most of the multicast would be video traffic and …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question