Question

Using an Airport Extreme Base Station at home, Setup FTP to browse files at work using a Windows machine.

Asked by: tinosalinas

Hello Experts,

I've setup my AEBS at home for FTP. It works at home on my local network (I can use Cyberduck and Firefox to see my FTP site). I'm at work now and can't connect to the FTP site.

My local setup is: Hercules Modem Routeur WiFi ADSL2/2+ (HWGADSL2P-54V2) with WiFi turned off - connected to the AEBS which is brodcasting the WiFi signal to my iMac, MacBook and Windows XP desktop. In the Airport Admin Utility I've set the internet connection sharing drop down box to: "Share a public IP address" and reserved the AEBS IP address within the Hercules Modem Router setup screens. I've also forwarded the ports within the Airport Admin Utility. Again, I can use Cyberduck and Firefox to see my FTP site at home on my local network.

At work I'm using Internet Explorer 7 on a Windows Vista machine. I've tried accessing my FTP site in both Internet Explorer 7 and Windows Explorer. In Internet Explorer 7, I've ensured that "Enable FTP Folder View (outside of Internet Explorer)" and "Use Passive FTP (For Firewall and DSL compatability)" are checked in "Tools|Internet Options|Advanced|Browsing."

The problems I've encountered are: Internet Explorer 7 returns a "Internet Explorer cannot display the webpage" message and Windows Explorer returns a FTP Folder Error message stating, "Windows cannot access this folder. Make sure you typed the file name correctly and that you have permission to access the folder. Details: A connection with the server could not be established."

How can I connect to my FTP site from work?

Thanks in advance.

Respectfully,
Tino Salinas

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-11 at 02:18:03ID24642471
Tags

Airport Extreme Base Station

,

AEBS

,

FTP

,

Mac Airport

Topics

Wireless Networking

,

Networking Hardware for Macintosh

,

FTP Servers

Participating Experts
2
Points
500
Comments
72

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Are all iMacs and eMacs standard with airport?
    Are all iMacs and eMacs equipped standard with airport? What screens do you go to find out? Airport is a wireless network adapter, right? I am really a newbie with Macs.
  2. Using Airport with an old iMac
    I would like to set up a wireless network in my house, for my two slot-loading iMacs (500 mhz and 350 mhz respectively, the old Indigo and Blueberry ones), and for a friend who is moving in who already has an airport-enabled laptop. My question is: will my old iMacs (or the ...
  3. iMac: unable to connect to local wifi router
    The problem is being unable to wirelessly connect to a local wifi router, which has no encryption. The iMac does not see any nearby networks. However, my windows notebook sees 2 nearby networks, and is currently connected to the local wifi router. The local router is a Li...
  4. Airport problems with MacBook
    I have home network, Linksys router. Airport seems to contstantly get hung up or stalled. If I turn Airport off and turn it back on right away it willl work fine for awhile, then get hung up again. Then I turn it off and right back on and it works fine. This pattern repea...
  5. Difference b/t Airport Express & AirPort Extreme Base St…
    My friend just bought a MacBook and wants to set up Wifi access in his apartment. He knows nothing about technology, so he is enlisting my help. I'm mainly a PC guy and have very limited experience w/ Macs. On the Apple website, I see there are 2 main options for setting up...
  6. Brand new iMac Airport network speed test shows 5 time…
    Hello! Just added an iMac to my network. Network access is really slow, the speed test shows it is about 5 times slower in download and upload than my Win Xp and Win Vista machines? Why is that? I looked at the Airport settings under System Preferences but not much that can b...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: KeremEPosted on 2009-08-11 at 02:34:29ID: 25067304

Hi,

It seems that your home router can not correctly NAT FTP. FTP is an ancient protocol and it runs this way:
- You connect to port 21 of the FTP server. This is FTP Command Channel.
- You send your port number that you expect the FTP server to connect.
- FTP server starts a new connection from its  port 20 (FTP DATA) to your specified port number if it is in active FTP mode.
- If the FTP connection is in passive mode then the server will send the port number (< 1024) which it will start a connection to your client port) instead.

As you could see it requires an application proxy should be present at both ends of the FTP connection to interpret the communication and grab port numbers in the flowing connection and be ready to listen these ports. Normally NAT gateways just NAT a traffic by assigning it a random port it migh be different than the initial port number. This would prefent FTP to go through.

Since your FTP connection times out after the initial phase it seems that one of your NAT gateways and possibly your home router can not properly proxy the NAT traffic. It should have a special FTP proxy otherwise it can not NAT an FTP session. So just dig in your home router manual and find how does it support FTP. Or if possible you can use SSH protocol and SFTP instead. IT is better in that it encrypts traffic so that nobody coulsd see your password as it traverses the internet and it won't require a compless application proxy because it does the conversation over the existing channel which was established during the initial startup.
 
Cheers,
K

 

by: strungPosted on 2009-08-11 at 06:42:50ID: 25068915

Follow the instructions here:  http://theappleblog.com/2009/05/05/how-to-port-forwarding-on-a-airport-extreme-time-capsule/ and forward TCP port 21 from your router to your Mac. You will then be able to FTP to the Mac from the PC by using the WAN IP address of the AEBS.

 

by: KeremEPosted on 2009-08-11 at 07:24:23ID: 25069410

The setup for your Hercules router is explained here:

ftp://ftp.hercules.com/wifi/manuals/HWGADSL2P-54V2/01-eng_Hercules_HWGADSL2P-54V2.pdf

Page 94.

Check services and then FTP servers then you need to pont to the IP address of your port-extreme-time-capsule

Cheers,
K

 

by: tinosalinasPosted on 2009-08-11 at 07:39:02ID: 25069591

Thank you for your responses. I'm going through all the information right now and will get back to you all on how it works out.

Regards,
Tino

 

by: tinosalinasPosted on 2009-08-11 at 09:51:22ID: 25070993

strung: I followed the instructions from the URL you provided. Transmission is showing that the needed ports are now open. I'll see if I can connect to the FTP tomorrow from my work computer. I'll let you know what happens.

Tino

 

by: tinosalinasPosted on 2009-08-11 at 22:02:11ID: 25075861

It's 6:50 AM here in Germany. I was excited to see if everything would be working from my office, but I'm still getting the "Internet Explorer cannot display the webpage" message in IE7. I was able to connect to the FTP site from within my home network last night. I was even able to browse my external hard drive conneted to my AEBS for the first time. Transmission also showed the necessary ports as open. It seems like everything should be working. Any ideas why I can connect from my Windows Vista computer at work?

Regards,
Tino

 

by: tinosalinasPosted on 2009-08-11 at 22:18:18ID: 25075896

I downloaded FileZilla 3.2.6.1 in an attempt to troubleshoot. FileZilla is reporting an error: "Could not connect to server."

Regards,
Tino

 

by: strungPosted on 2009-08-12 at 06:21:43ID: 25078404

What are you using as the URL to connect? It should be the WAN address of your router, not the LAN address of your target computer.

 

by: tinosalinasPosted on 2009-08-12 at 12:17:26ID: 25081854

I'm using the WAN address of the router to connect. I tried connecting on a computer outside of my network and one not at my work and I get the same results. I was thinking it was my work computer, but I get the same error at any computer I try.

 

by: strungPosted on 2009-08-12 at 12:21:58ID: 25081903

Are you sure you forwarded the port to the correct IP address for the target computer? If the target computer is set for DHCP, its IP address may change.

Also, if the energy saver on your Mac is set to put the Mac to sleep after a period of time, you won't be able to connect to it unless you wake it first. See:

http://www.macosxhints.com/article.php?story=20050118192723153

 

by: tinosalinasPosted on 2009-08-12 at 12:22:01ID: 25081904

I'm able to connect here at home to my FTP, but not somewhere outside my local network. Any ideas?

 

by: strungPosted on 2009-08-12 at 12:23:24ID: 25081910

Maybe by the time you get to work, your Mac has gone to sleep. You will not be able to connect if it is asleep.

 

by: tinosalinasPosted on 2009-08-12 at 12:25:27ID: 25081938

Strung: Great idea. I checked my System preferences and my iMac was set to sleep after 15 minutes. I set it to never. Do you think this was restricting my access?

 

by: strungPosted on 2009-08-12 at 12:27:22ID: 25081952

Without a doubt. You cannot connect to a sleeping computer without waking it first. But see the link in my earlier post of 12:21 on how to wake a sleeping computer remotely.

 

by: tinosalinasPosted on 2009-08-12 at 12:32:41ID: 25082015

Strung: Inside my routers setup I've reserved the IP address of my AEBS. The ports that I have forwarded from the routers setup are 548, 21 and 80. In Airport Utility I have a DHCP reservation for the IP address of my iMac. Also, in port mapping I have ports 80 and 21 mapped. IPv6 firewall has port 548 open. Does this sound right? On all the screens from the Airport Utilty when it calls for an IP address I'm using the iMac's. Is this right?

Tino

 

by: strungPosted on 2009-08-12 at 12:34:44ID: 25082045

I think you need to forward only port 21 or FTP. 548 is AppleTalk and 80 is HTML. Also IPV6 should be turned off.

 

by: tinosalinasPosted on 2009-08-12 at 12:48:59ID: 25082164

I came into this with 548 forwarded because of this article: http://guides.macrumors.com/Using_Remote_File_Access_to_Save_Disk_Space_on_Your_MacBook_Air
Also, the link from above showed some steps inside of IPv6 that I followed: http://theappleblog.com/2009/05/05/how-to-port-forwarding-on-a-airport-extreme-time-capsule/

Should I remove port forwarding of 548 and 80 from my routers setup screen? Also, remove port 80 from the Airport Utility port mapping? How about the IPv6? It's set to tunnel. That opened the IPv6 firewall option which I entered 548 into. Should I remove 548 from IPv6 firewall?

Thanks,
Tino

 

by: KeremEPosted on 2009-08-12 at 13:03:39ID: 25082303

Hi,

did you do as I suggested? AS you could remember I had told you accutaly how the protocol works. But you don't seem like you did as I suggested.

Cheers,
K.

 

by: tinosalinasPosted on 2009-08-12 at 13:22:25ID: 25082500

Hi KaremE,

Honestly your post was hard for me to follow. I appreciate you taking you time to enlighten me, but it was just a little difficult to understand and apply. I appreciate the link to the manual. I read page 94 and 95. It told me what I understood from the beginning. That I need to open the ports from my router and how to do that. From the research I've done prior to posting here I read that different ports should be open. Now I understand that only port 21 should be open. Is that right strung?

Regards,
Tino

 

by: strungPosted on 2009-08-12 at 13:31:20ID: 25082597

Yes.

 

by: KeremEPosted on 2009-08-12 at 13:37:38ID: 25082670

It is wrong. First of all 21 should be open this is correct. But depending on passive or active FTP you have an application proxy and must check inside the response packet and then allocate the correct port to your FTP session. It was what I'd tried to tell you in the beginning. The problem is no the FTP because it is already running inside. The problem is how your router NATs the FTP. This is where your comms stall at the outside.

As I've explained you open a conection to port 21 of your FTP server and then it opens another connection from his port 20 to one of your ports and sens the port it will try to connect over Port 21. Then you should open that port from your FTP servers port 20 if it is an active session and from any port to your any port.

Since it requires so many different ports both you Firewall at your work and your router must allow all these ports and since it is dynamically allocated they should both check inside the specified port. This is why it is very hard to implement FTP via Firewalls and NAT.

 

by: tinosalinasPosted on 2009-08-12 at 14:14:40ID: 25083104

KeremE I don't know how to do the things your telling me to do. You have to know who your audience is. I'm a technical expert in explosive safety and when I give briefings to soldiers I condense my knowledge and emphasize the important aspects. I can use theory when my audience understands, like when I brief fellow experts in my field. Please, enlighten me with your knowledge but tone it down a bit with some practical steps.

I understand that port 21 needs to be open. How do I check if I'm using passive or active FTP? How do I check inside the response packet to allocate the correct port? How can I get my router to correctly NAT the FTP? Do you see where I'm going here? You leave a lot of open questions.

Tino

 

by: strungPosted on 2009-08-12 at 15:26:14ID: 25083712

You can set your FTP client to Passive Mode (PASV).

It should work with only port 21 open. At most you have to open port 21 as well. Despite what Kerem says, it is not rocket science. If you  have port 21 open and set your computer not to go to sleep, it should work.

 

by: KeremEPosted on 2009-08-12 at 15:29:00ID: 25083736

First of all you need to clarify this:

- What modem connects you to the internet ? Hercules or AEBS?
- Where is your FTP server located? Since AEBS does not have a FTP facility it must be over your Apple iMac, MacBook or Windows XP. What are theri IP addresses.
If you have your Hercules router connecting you to hte internet for you are using the AEBS only as a WiFi Access Point. In this case unless you need to configure AEBS it is transparent to you becasue in this mode it is just acting a Switch with both Wireless and Wired connections.
 
If this is the case you need to setup your network such as this::

Home > Your Internet firewall parameters > Port Forwarding > Select Your Computer (Pick your FTP server IP address) > Select the type of service provided: > Servers > Select the rule to apply > FTP Server.

I'll be able to send you the info about the rest when you've answered all my questions above.

Cheers,
K.

 

by: KeremEPosted on 2009-08-12 at 15:38:33ID: 25083800

> It should work with only port 21 open. At most you have to open port 21 as well. Despite what Kerem
> says, it is not rocket science. If you  have port 21 open and set your computer not to go to sleep, it
> should work.

This is completely incorrect. No FTP server could work when only Port 21 is active. Whether in active or passive mode. It is the moral responsibility of an expert to be sure before directing an asker. Please learn about the protocol before commenting first.

Some useful info for through understanding of the protocol:
http://en.wikipedia.org/wiki/File_Transfer_Protocol

The problem here has nothing to do with AEBS itself becasue it seems that the asker use it rely as a WiFi Access Point. But the link you've previously sent to the asker is about configuring an AEBS when used as an ADSL router which is quite irrelevant with the askers question. Noramlly I don't argue with other experts but here you're sending misleading and incorrect information and it is obvious that you don't even understand the topology.  

 

by: KeremEPosted on 2009-08-12 at 15:42:03ID: 25083832

Here's another good link explaining how FTP works:
http://slacksite.com/other/ftp.html

 

by: KeremEPosted on 2009-08-12 at 15:48:03ID: 25083877

It is also quite wrong  that it is no rocket science. FTP is an ancient protocols, trying to use large port ranges and it creates an security risk itself for lots of reasons. Another problem is it requires an Application Proxy to correctly NAT it. Even after that there can be lots of problems such as the proxy expecting the FTP server to be in active FTP while the server behind uses passive FTP or vice versa.

Last month I've been commissioned for a consultancy job which involved some 2 millon $ IBM p-Series hardware behind a firewall that could not communicate with another application application that client had and it required lots of configuration and different FTP daemons to fix and it is really a rocket science once an FTP server is behind a firewall.

 

by: tinosalinasPosted on 2009-08-13 at 22:32:28ID: 25095452

Karem: to answer your questions - I connect to the internet via my Hercules modem/router. My FTP server is located on my Apple iMac (192.168.1.3). I've correctly forwarded port 21 and 80 on my Hercules modem/router by adding "ftp server" and "web server" to the IP address of my iMac (192.168.1.3).

strung: out of desperation I signed up for an account with DynDns.com, and opened both port 21 and 80 to my iMac's IP address. I'm able to get the Apache web server page via my externat IP address, so port 80 is forwarding correctly. I still can't connect via port 21 though. I can at home though on my local network using Cyberduck or Firefox.

Thanks,
Tino

 

by: KeremEPosted on 2009-08-16 at 04:11:17ID: 25108548

> Karem: to answer your questions - I connect to the internet via my Hercules modem/router. My FTP
> server is located on my Apple iMac (192.168.1.3). I've correctly forwarded port 21 and 80 on my
> Hercules modem/router by adding "ftp server" and "web server" to the IP address of my iMac
> (192.168.1.3).

This is what I was thinking. Will you please connect to FTP from you XP and when connected post here the output of the command from the command line:

netstat -anp tcp

I'm trying to determine wheter your FTP server is in active mode or passive mode from the ports it's working. You might as well use FileZilla client and post the communication Dialog Window here. You can right Click to the communication Dialog window and copy the contents to the clipboard. It is located at the top part just under the menu and Fast Connection.

 

by: tinosalinasPosted on 2009-08-16 at 13:25:15ID: 25110330

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\JuNico>netstat -anp tcp

Active Connections

  Proto  Local Address          Foreign Address        State
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
  TCP    127.0.0.1:1026         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:1026         192.168.1.4:3646       ESTABLISHED
  TCP    127.0.0.1:1027         127.0.0.1:5354         ESTABLISHED
  TCP    127.0.0.1:1028         127.0.0.1:5354         ESTABLISHED
  TCP    127.0.0.1:1032         127.0.0.1:27015        ESTABLISHED
  TCP    127.0.0.1:1045         127.0.0.1:5354         ESTABLISHED
  TCP    127.0.0.1:1071         127.0.0.1:1072         ESTABLISHED
  TCP    127.0.0.1:1072         127.0.0.1:1071         ESTABLISHED
  TCP    127.0.0.1:1073         127.0.0.1:1074         ESTABLISHED
  TCP    127.0.0.1:1074         127.0.0.1:1073         ESTABLISHED
  TCP    127.0.0.1:5354         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:5354         127.0.0.1:1027         ESTABLISHED
  TCP    127.0.0.1:5354         127.0.0.1:1028         ESTABLISHED
  TCP    127.0.0.1:5354         127.0.0.1:1045         ESTABLISHED
  TCP    127.0.0.1:27015        0.0.0.0:0              LISTENING
  TCP    127.0.0.1:27015        127.0.0.1:1032         ESTABLISHED
  TCP    192.168.1.4:139        0.0.0.0:0              LISTENING
  TCP    192.168.1.4:139        192.168.1.3:61180      ESTABLISHED
  TCP    192.168.1.4:3605       209.85.129.99:80       TIME_WAIT
  TCP    192.168.1.4:3606       74.125.43.106:80       TIME_WAIT
  TCP    192.168.1.4:3607       209.85.129.102:80      TIME_WAIT
  TCP    192.168.1.4:3608       74.125.43.138:80       TIME_WAIT
  TCP    192.168.1.4:3609       209.85.129.102:80      TIME_WAIT
  TCP    192.168.1.4:3610       209.85.129.99:80       TIME_WAIT
  TCP    192.168.1.4:3627       74.125.43.83:80        ESTABLISHED
  TCP    192.168.1.4:3634       207.115.86.98:443      TIME_WAIT
  TCP    192.168.1.4:3636       207.115.86.98:443      TIME_WAIT
  TCP    192.168.1.4:3637       72.21.211.161:443      TIME_WAIT
  TCP    192.168.1.4:3638       74.125.39.97:443       TIME_WAIT
  TCP    192.168.1.4:3641       216.137.61.206:80      TIME_WAIT
  TCP    192.168.1.4:3642       74.125.43.83:80        TIME_WAIT
  TCP    192.168.1.4:3644       74.125.43.101:80       TIME_WAIT
  TCP    192.168.1.4:3646       192.168.1.3:21         ESTABLISHED
  TCP    192.168.1.4:3648       192.168.1.3:21         ESTABLISHED

C:\Documents and Settings\JuNico>

 

by: tinosalinasPosted on 2009-08-16 at 13:27:41ID: 25110338

Status:      Connecting to 192.168.1.3:21...
Status:      Connection established, waiting for welcome message...
Response:      220---------- Welcome to Pure-FTPd [TLS] ----------
Response:      220-Local time is now 22:22. Server port: 21.
Response:      220-IPv6 connections are also welcome on this server.
Response:      220 You will be disconnected after 15 minutes of inactivity.
Command:      USER Celestino S Salinas Jr
Response:      331 User Celestino S Salinas Jr OK. Password required
Command:      PASS ********
Response:      230-User Celestino S Salinas Jr has group access to:  admin    _appserv com.appl
Response:      230- _appserv com.appl _lpadmin staff  
Response:      230 OK. Current directory is /Users/tinosalinas
Command:      SYST
Response:      215 UNIX Type: L8
Command:      FEAT
Response:      211-Extensions supported:
Response:       EPRT
Response:       IDLE
Response:       MDTM
Response:       SIZE
Response:       REST STREAM
Response:       MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response:       MLSD
Response:       ESTP
Response:       PASV
Response:       EPSV
Response:       SPSV
Response:       ESTA
Response:       AUTH TLS
Response:       PBSZ
Response:       PROT
Response:       UTF8
Response:      211 End.
Command:      OPTS UTF8 ON
Response:      200 OK, UTF-8 enabled
Status:      Connected
Status:      Retrieving directory listing...
Command:      PWD
Response:      257 "/Users/tinosalinas" is your current location
Command:      TYPE I
Response:      200 TYPE is now 8-bit binary
Command:      PASV
Response:      227 Entering Passive Mode (192,168,1,3,82,37)
Command:      MLSD
Response:      150 Accepted data connection
Response:      226-ASCII
Response:      226-Options: -l
Response:      226 11 matches total
Status:      Directory listing successful

 

by: tinosalinasPosted on 2009-08-16 at 13:31:44ID: 25110354

The IP used for the above connection was the IP address for my iMac. There is also an external IP provided by my ISP, A router IP and an IP for the AEBS. I hope I am using the right IP address to connect with. I tried using the external IP, but when prompted for a username and password, nothing worked. I don't know the username and password for the external IP address. Thanks again for your help.

Tino

 

by: KeremEPosted on 2009-08-17 at 02:37:43ID: 25112672

Hi

The external address does not matter here. In fact it wont work for you because the NAT will not work here this way.

But from what you've sent me I see that your connection is is PASSIVE. Here:
Response:      257 "/Users/tinosalinas" is your current location
Command:      TYPE I
Response:      200 TYPE is now 8-bit binary
Command:      PASV
Response:      227 Entering Passive Mode (192,168,1,3,82,37)
Command:      MLSD
Response:      150 Accepted data connection
Response:      226-ASCII
Response:      226-Options: -l

The problem here is your FTP client wants to get into passive mode while your NAT over your Router do not support passive mode.


Will you please try tihs at your work place:

Launch Filezilla FTP Client
File > Site Manager > General (enter your Router IP credentilas etc) > Transfer Settings  > Transfer mode: Active > OK

File  > Site Manager > Connect

Let me know the result.

BTW are you sure that your workplace Firewall settings allow FTP ? HAve you tried to connect another FTP site from your workplace?

Cheers,
K.

 

by: tinosalinasPosted on 2009-08-17 at 04:58:59ID: 25113401

Status:      Connecting to 192.168.1.3:21...
Error:      Connection timed out
Error:      Could not connect to server
Status:      Waiting to retry...
Status:      Connecting to 192.168.1.3:21...
Error:      Connection timed out
Error:      Could not connect to server

 

by: tinosalinasPosted on 2009-08-17 at 05:03:10ID: 25113431

I'm not sure about the work place firewall settings. I don't have admin rights, but I have connected to an FTP site at work to verify and I was able to connect with no problems. I was really hoping your last suggestion to use active mode instead of passive would work.

Regards,
Tino

 

by: tinosalinasPosted on 2009-08-18 at 05:31:11ID: 25122452

Are there any other things you'd like me to try?

 

by: KeremEPosted on 2009-08-18 at 08:20:15ID: 25124148

Hi,

It seems that your company has blocked FTP but only allowed some sites. The Pasv thing would work only if you had access to port 21. Now I am not sure if it is a setup problem orr your company just blocks it since the output is:

 Status:      Connecting to 192.168.1.3:21...
Error:      Connection timed out
Error:      Could not connect to server

It can not reach the FTP server. Can you try it elsewhere such a s a friends house or an public Internet spot ?

 

by: tinosalinasPosted on 2009-08-18 at 09:44:39ID: 25125123

ok, i'll look for a place to try it and get back with you.

 

by: tinosalinasPosted on 2009-08-26 at 12:14:19ID: 25191147

I'm still getting a "Page Cannot be Displayed" error from every computer I've tried. Nothing has worked so far. I feel this issue cannot be fixed. Any other tips would be appreciated.

Regards,
Tino

 

by: KeremEPosted on 2009-08-26 at 12:25:44ID: 25191249

yeah since it does not work from anywhere here's the checklist:

- You've previously enabled FTP Port redirection to your modem. As I've described in my note ID:{25083736}
-  Now it seems that you need to add a firewall rule to enable access to your port 21 to allow connection from outside.

As you see  we'll need to get Port Mapping up and allow connection to port 21. You can only get your prompt when you've accomplished that.

You see the solution has two parts:
Part 1
- Reverse NAT (port redirection of FTP Control Port 21)
- Allow external access to the port

Part2
-  FTP that your Router supports must agree with your internal FTP servers.

Tell me if you don2t know how to allow access to your router I'll check with your modem documentation and send you instructions about it.

Cheers,
K.

 

by: tinosalinasPosted on 2009-08-27 at 04:32:52ID: 25196711

Thanks for getting back to me. I've already opend port 21 on my modems firewall. Also on the Airport Extreme Base Station. Is there a third place to open port 21?

Regards,
Tino

 

by: KeremEPosted on 2009-08-28 at 10:10:46ID: 25209656

You need to open port 21 only on your intenet router. As far as I remember Airport Express is only used as an Acces point now and your router is hercules. Is it the case??

Can you send a drwaing of your internal net with IP adresess ??
 

 

by: tinosalinasPosted on 2009-08-30 at 15:06:34ID: 25219614

Ok, I have port 21 open on the router for my iMac's ip address. I'm not sure what your asking me to send. Can you tell me again what you need? Thanks.

Tino

 

by: tinosalinasPosted on 2009-09-02 at 12:30:07ID: 25244697

I haven't gotten a response back, so I'm guessing you're asking what IP addresses my components have?????

My Hercules router is assigned IP: 192.168.1.1 - That's connected to my AEBS which has an IP address of 192.168.1.2 - That provides a wireless connection to my two computers. My iMac has an IP address of 192.168.1.3 - Port 21 is open for that IP address on both the hercules router and the AEBS. My windows computer has an IP address of 192.168.1.4. Hope this helps....

Tino

 

by: strungPosted on 2009-09-02 at 12:34:01ID: 25244730

Sounds like your problem is you are doing double NAT. You should have your AEBS set to bridge mode.

 

by: tinosalinasPosted on 2009-09-02 at 14:34:32ID: 25245902

In Airport Utility on the Internet Tab, I have Connection sharing set to Off (Bridge Mode).

 

by: strungPosted on 2009-09-02 at 15:44:31ID: 25246368

Are you forwarding port 21 on the Hercules to 192.168.1.2 or to 192.168.1.3? You should be forwarding it to 192.168.1.3. If the AEBS is in bridge mode, it doesn't need port forwarding set at all.

 

by: tinosalinasPosted on 2009-09-02 at 15:52:18ID: 25246435

I have port 21 forwarded to IP 192.168.1.3, which is port 21 to my iMac.

I'll delete port 21 on the AEBS. Would that cause the FTP problems I'm having?

 

by: strungPosted on 2009-09-02 at 15:59:18ID: 25246481

I wouldn't have thought so, but it is worth a try.

 

by: strungPosted on 2009-09-02 at 16:03:06ID: 25246508

Sorry, but this thread is getting long and I am getting confused. Is your FTP server on your home Mac at 192.168.1.3 or is that the computer you are trying to use to connect to an FTP site at the office?

If the latter, you don't need port forwarding on your home LAN at all. You only need to forward the port to the FTP server (not to the FTP client). If you are trying to connect to an FTP site at your office, the the only port forwarding that need be done is from you office router to the office FTP server.

 

by: tinosalinasPosted on 2009-09-02 at 16:24:05ID: 25246626

Your right about it getting long. I'll try to clear up the confusion. My FTP server is on my home Mac at 192.168.1.3

I'm trying to connect to my home Mac (192.168.1.3) from work. Ideally I'd like to access a library of references I've accumulated. That library is on my home Mac. I used to have it on a portable hard drive that I would bring to work, but USB devices are no longer authorized at my work place. I was trying to set up an FTP as a work around.

 

by: strungPosted on 2009-09-02 at 16:25:41ID: 25246637

What FTP server are you using?

 

by: strungPosted on 2009-09-02 at 16:30:33ID: 25246673

I wonder if for security reasons, your office has blocked all FTP traffic. Can you connect to any other FTP sites from your office? For instance, can you connect to ftp://ftp.apple.com/ from your office?

Also, can you connect to your FTP server at 192.168.1.3 from your PC at 192.168.1.4 on your local network?

 

by: tinosalinasPosted on 2009-09-02 at 17:10:11ID: 25246890

What do you mean by what FTP server am I using? I've used firefox and cyberduck to access the 192.168.1.3 site. I've connected to it from my Windows computer (192.168.1.4) on my local network using firefox.

 

by: strungPosted on 2009-09-02 at 17:15:09ID: 25246913

What URL are you using to connect to 192.168.1.3 from 192.168.1.4?

 

by: strungPosted on 2009-09-02 at 17:17:09ID: 25246922

Also, what services do you have turned on in the Mac's Sharing Prefernces Panel?

 

by: tinosalinasPosted on 2009-09-02 at 17:25:34ID: 25246959

on 192.168.1.4 I'm connecting to 192.168.1.3 via this link in Firefox: ftp://my username@192.168.1.3/

I'm then prompted for my password.

I have File Sharing and Web Sharing on.

 

by: strungPosted on 2009-09-02 at 17:39:47ID: 25247022

Okay. Do you also have "Share files and folders using FTP" turned on after clicking on the options button in the sharing prefs panel?

 

by: tinosalinasPosted on 2009-09-02 at 17:42:51ID: 25247038

Yes, FTP, AFP and SMB are checked.

 

by: strungPosted on 2009-09-02 at 17:49:29ID: 25247071

It sounds like you have everything set up right locally assuming that you have port 21 properly forwarded on the Hercules.  

Please double check to make sure you are using the right WAN IP address. You can check this by going to http://www.whatismyip.com from your home computer. The address you get from this site is your WAN IP address. That is the address to use when connecting from outside your LAN.

If you are using the right IP address and still can't connect, it may be that your ISP is blocking port 21. Many ISP's prohibit the use of servers on home accounts and enforce this by blocking port 21.

 

by: strungPosted on 2009-09-02 at 17:52:28ID: 25247084

Go to this page and check to see if port 21 is blocked:  

http://www.canyouseeme.org/

 

by: tinosalinasPosted on 2009-09-02 at 17:54:40ID: 25247096

Ok, this may be what I'm doing wrong. I went to the site you posted and that is my WAN IP address. I need to use that IP address to connect to when I'm outside my local network? What format does it need to be in? I'm assuming ftp://username@ipaddress then hopefully I get the prompt for my password.

 

by: strungPosted on 2009-09-02 at 17:57:40ID: 25247110

That's right. That should work. Use the IP address you got from http://www.whatismyip.com instead of 192.168.1.3 when you are outside your LAN.  The port forwarding will then forward the FTP request from the WAN IP address to 192.168.1.3.

Use the same format as you would use inside the LAN but with the WAN IP instead of the LAN IP.

 

by: tinosalinasPosted on 2009-09-02 at 17:58:32ID: 25247115

I went to http://www.canyouseeme.org/ on both machines (192.168.1.3 and 192.168.1.4) and I get this message which is good: Success: I can see your service on port (21) Your ISP is not blocking port 21

 

by: tinosalinasPosted on 2009-09-02 at 18:00:26ID: 25247122

Great! I will try that! This may be the solution I've been waiting for. I'll see if I can get to a hot spot tomorrow to test it out. I'm out of my office this week.

 

by: tinosalinasPosted on 2009-09-02 at 18:07:23ID: 25247143

One thing though. I'm trying to access the WAN IP address from my local network. I'm being prompted for my password and the one I've been using for 192.168.1.3 does not work. The password for my router also doesn't work.

 

by: strungPosted on 2009-09-02 at 18:10:40ID: 25247158

You can't access the WAN IP from inside the LAN unless your router supports "loopback". Generally speaking only expensive commercial grade routers support loopback. Home routers usually do not.

So. unless you have an expensive commercial grade router, using your WAN ip address from inside your LAN won't work.

 

by: tinosalinasPosted on 2009-09-02 at 18:59:20ID: 25247316

Ok, I'll try it from outside my local network and get back to you. Thanks.

 

by: KeremEPosted on 2009-09-03 at 10:25:40ID: 25252853

> One thing though. I'm trying to access the WAN IP address from my local network. I'm being prompted for > my password and the one I've been using for 192.168.1.3 does not work. The password for my router
> also doesn't work.

I was on my vacation and still am :) I just could find the opportunity to connect :)

When you FTP to your WAN IP and your get your modems prompt instead it means that your modem is responding to the FTP directly. Try to change your Hercules Modems default FTP port to soemething else then 21.

 

by: tinosalinasPosted on 2009-09-08 at 09:22:42ID: 25283464

I've been away a few days. I tried to connect this morning from my work computer and I still get the "Page cannot be displayed error message." Strung posted an FTP address for Apple. I will try that tomorrow to see if I can at least connect to it. If not, then I'm thinking that I'm behind a firewall at work. I'll see if a friend can connect to it from his house and post tomorrow.

Tino

 

by: strungPosted on 2009-09-08 at 10:03:35ID: 25283877

Are you sure your home computer was not asleep at the time you tried to connect?

 

by: tinosalinasPosted on 2009-10-07 at 11:16:45ID: 31614113

Never reached a solution and tired of trying. Thanks anyway.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...