iV3K

Q: Latest TC 7.7.7 FTP problem

hi, i have latest tc with 7.7.7 firmware and osx server running on imac. Every Service on my server works except FTP. Cannot access it from WAN, on LAN works fine. TC is acting as NAT router and DHCP server. Tried putting osx server in DMZ zone (default host) but no luck with FTP. Any toughts? Thanks

Airport Time Capsule 802.11ac, 7.7.7 firmware

Posted on Aug 27, 2016 1:48 AM

Close

Q: Latest TC 7.7.7 FTP problem

  • All replies
  • Helpful answers

  • by LaPastenague,

    LaPastenague LaPastenague Aug 27, 2016 6:17 PM in response to iV3K
    Level 9 (52,255 points)
    Wireless
    Aug 27, 2016 6:17 PM in response to iV3K

    FTP might be used internally in the TC. The Apple airports have long had FTP issues.. this is nothing new.

     

    Since FTP is not secure Apple is probably discouraging its use.. Use SFTP instead. Or set to a different port and manually port translate it through the TC to your OSX server. But it might still have issues.

  • by iV3K,

    iV3K iV3K Aug 28, 2016 12:02 AM in response to LaPastenague
    Level 1 (10 points)
    Desktops
    Aug 28, 2016 12:02 AM in response to LaPastenague

    Any tips on how to use SFTP, which ports need to be forwarded? Tried using public port 21 to private port 1023 or 2121 but no luck..

  • by LaPastenague,Apple recommended

    LaPastenague LaPastenague Aug 28, 2016 2:00 PM in response to iV3K
    Level 9 (52,255 points)
    Wireless
    Aug 28, 2016 2:00 PM in response to iV3K

    For normal FTP you would do better keeping FTP locally set to port 21. But you can use 1023 or 2121 as the public port.

     

    FTP is more complex than generally understood. It will depend on the particular client you use what ports need to be opened. This is a problem from long ago.

     

    http://slacksite.com/other/ftp.html

     

    SFTP uses SSH so will use port 22.

    https://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol

     

    Thinking about your issue .. perhaps you would do better logging into the OSX server using VPN. Since server has VPN server available and Mac and almost every OS out there now has VPN client it should work.

     

    http://krypted.com/tag/configure-mac-os-x-server-as-a-vpn-server/

     

    VPN can take a bit of work to setup .. and I generally recommend people use VPN capable routers rather than on a server inside the network.. but it can work well and the setup of the TC may work automagically.

  • by Ray@CGICA,

    Ray@CGICA Ray@CGICA Aug 30, 2016 9:27 AM in response to iV3K
    Level 1 (8 points)
    Wireless
    Aug 30, 2016 9:27 AM in response to iV3K

    Im a web designer

    im having the same problem, can't connect to any ftp.( can actually connect, but Failed to retrieve directory listing)

    The only solution i found is to change the connection to SFTP.

  • by iV3K,

    iV3K iV3K Aug 30, 2016 9:44 AM in response to Ray@CGICA
    Level 1 (10 points)
    Desktops
    Aug 30, 2016 9:44 AM in response to Ray@CGICA

    SFTP (SSH) works for me but how can I share only one or two folders with SFTP? When I connect with my username and password via SFTP (SSH) I can access all my folders and files and I do not want to do that. I just want to share one or two folders...

  • by LaPastenague,

    LaPastenague LaPastenague Aug 30, 2016 1:18 PM in response to iV3K
    Level 9 (52,255 points)
    Wireless
    Aug 30, 2016 1:18 PM in response to iV3K

    Use a guest login.. not your own username and password which you don't want to pass onto other people anyway.

  • by iV3K,

    iV3K iV3K Sep 3, 2016 1:12 AM in response to LaPastenague
    Level 1 (10 points)
    Desktops
    Sep 3, 2016 1:12 AM in response to LaPastenague

    Okay I do not want to use guest login because of no password so I created seperate user with sharing only (services).. It connects succesfuly but no directory listing for that user. So my question is how to share folder with that user that uses services only via SSH?

     

    p.s. when I log with my computers account I can see all my files and directories..

  • by LaPastenague,

    LaPastenague LaPastenague Sep 3, 2016 12:16 PM in response to iV3K
    Level 9 (52,255 points)
    Wireless
    Sep 3, 2016 12:16 PM in response to iV3K

    All the computer users have a public account. You should be able to put files into the public account and access it with any login and remotely. Same as you would in a LAN.

  • by iV3K,

    iV3K iV3K Sep 3, 2016 12:29 PM in response to LaPastenague
    Level 1 (10 points)
    Desktops
    Sep 3, 2016 12:29 PM in response to LaPastenague

    can you provide a guide for noobs like me for that?   thanks

  • by LaPastenague,

    LaPastenague LaPastenague Sep 3, 2016 2:42 PM in response to iV3K
    Level 9 (52,255 points)
    Wireless
    Sep 3, 2016 2:42 PM in response to iV3K

    Note that I do not use Server version OS X so it may be different.. and I always use VPN for remote access rather than SSH.. so I am not entirely sure what that will affect.

     

    In preferences I have set file sharing on.

    That will then allow access to the public folder.

     

    Click on the plus below shared folders and add folders to the list. Make sure the permissions list is to read and write.

    Screen Shot 2016-09-04 at 7.36.38 AM.png

     

    Click on options and you can add a user for access to the list.

    If you tick the windows file sharing that might also help.

    Screen Shot 2016-09-04 at 7.22.04 AM.png

     

    Then from another computer in the network (and it should work from remote as well).

     

    You should be able to drop files into the public access directory using any valid login.

     

    And read from it as well.

     

    Which has worked on my networking testing it just now.

     

    BUT from El Capo there is much more security.. and I had to delete and re-add the shared folder..

    And it means you have to copy all the files you want the remote user access to have to be copied to the shared folder.. you should also be able to add access to your own folders..

     

    I am guessing on server version this is a lot more complicated and you will need to post the question in El Capo server area.

  • by iV3K,

    iV3K iV3K Sep 3, 2016 10:55 PM in response to LaPastenague
    Level 1 (10 points)
    Desktops
    Sep 3, 2016 10:55 PM in response to LaPastenague

    Tried everything as you wrote here without any no luck.. Still cant get directory listing when i create another account.

  • by LaPastenague,

    LaPastenague LaPastenague Sep 4, 2016 12:38 AM in response to iV3K
    Level 9 (52,255 points)
    Wireless
    Sep 4, 2016 12:38 AM in response to iV3K

    Post in the server section.. I think there are different methods with server.