How can i open ftp port(s)?

Hi,,
I have attached to my AE a Internet HD - WdMyCloud.
I've tried connect to my MyCloud outside my network without success (from a imac - ftp and afp)
What am I doing wrong? When I'm on the same network I do connect through ftp , but when I'm away home I can't .
Here's a print screen of my Airport Extreme configuration . Someone could help me please?
https://www.dropbox.com/s/a48jexr3dlokod7/Screen%20Shot.jpg?dl=0

Port 5900 is for VNC (screen sharing), the WD will not support VNC. Leave that port alone.
What you want to to is complex to setup securely…
Enable ssh on the WD.
Fix the WD's IP local address on the router so that it is always the same (this makes port forwarding stable).
On your router open a port to use ssh…
Port 22 is 'privileged' & is often scanned by bots just like port 21, choosing another port will reduce that exposure to an extent (a determined hacker will still know ssh is running on this port).
Pick port 23895 or something else high (over 1024) that is the external port to use to 'dial in'. The router needs to direct to the internal port 22 on the WDMyCloud.
To test the connection use ssh in Terminal (do this from inside & outside the WD network)…
ssh -p 23895 username@external-IP-address
accept the 'ID' if they match (first time only, unless the IP changes)
enter password for username
This allows you to run commands or browse files via Terminal commands etc.
Type exit & hit return to leave the remote session.
You can also use apps like Panic's Transmit to mount the share points over ssh or sftp - frankly it's easiest to stop here - Transmit has a 'mount remote disk' feature that basically does the same as Connect to server in Finder. Use ssh or sftp as the settings & it will be secure.
Mounting remote in Finder
If you want to mount the disk via AFP in Finder you need to use 'ssh local port forwarding'. The principle is to forward a custom local port through the ssh connection to the AFP port on the WD.
This will setup the forward…
ssh -p 23895 username@external-IP-address -L 22548:localhost:548
Note -L is 'local forward' here it uses local port 22548 on localhost to connect to 548 on the remote end.
Then you can connect in Finder to localhost.
afp://username@localhost:22548
You are connecting to the local port 22548, which is actually a tunnel to the WD's port 548.
Some things to note.
You need to disconnect & kill the ssh connection when finished, otherwise the local forwarded port will remain in use, this prevents connections & makes it frustrating.
Your external IP address may change depending on your ISP & internet service type, whatsmyip.com will help you see changes but only from inside the network. dyndns.com or no-ip.org can help with this issue. Either the WD or the router should be made responsible for updating any dyndns records.
I haven't mentioned setting up ssh keys, there are many guides on the web. Once keys are setup you can disable password login via ssh on the WD, just be aware that if the keys do not work you get locked out of ssh - potentially catastrophic on these NAS's that have limited access. Transmit will use keys saved in your user account.
Local forwarding seems complex (it is) but once it works you can save the commands in two scripts, one to connect & mount the disk(s), another to disconnect & kill the ssh connections. It makes life easier. Transmit skips the need for these altogether.
I suspect that is very scary, sorry it is just complex to setup. Test locally is my advice (use the internal IP when inside), then move onto testing from outside. If you have an iPhone apps like Prompt or iSSH can allow you to test connections via cellular data which is outside the LAN.
I'll try to clarify if you have questions, but it's very difficult to troubleshoot via forums, so good luck

Similar Messages

  • How can I open all ports on a Window 2003 Server

    How can I open all ports on my windows 2003 server for a specific range of IP addresses?

    Hi,
    Just want to confirm the current situations.
    Please feel free to let us know if you need further assistance.
    Regards.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How can I open the ports with the Airport Extreme?

    I have an Airport Extreme Base Station connected to a cable modem and I want to open the ports for the two Playstation 3's I connected to the Airport Extreme via Cat 6 ethernet cable. The first Playstation 3 will be used to play Call of Duty Modern Warfare 2 and the other Playstation 3 will be used to watch streaming movie from Netflix. Does anyone know if this can be done?

    It is documented on Page 54 of Apple's "Designing
    AirPort Networks Using AirPort Utility Mac OS X v10.5 + Windows" (direct PDF download link).
    The public port and private port would be set the same value.

  • Can't open FTP ports in Airport Extreme router

    Hi,
    I have three computers networked at home with an Airport Extreme serving as a router to the internet. A couple days ago I set up an FTP server on one computer (Ubuntu Linux). It is running properly and I CAN get into the FTP server via the local area IP address (10.0.1.101). However, no matter what I do I can't get the Airport Extreme to forward any FTP connections from outside. I have port forwarding set up correctly and working correctly for echo (7), daytime (13) ssh (22) http (80) nfs (2049) and vnc (5900). However, even though I set ports 20,21 to be forwarded to the correct computer nmap they are NOT open. (nmap doesn't see them, and telnet to ports 20 or 21 is refused. However nmap on the server locally (ie as localhost) shows that these ports ARE open on the server, and ftpd IS running.) Neither of my mac laptops has ftp file sharing turned on in the preferences (not like this should matter anyway). The Airport Extreme just plain does not open or forward anything to ports 20-21.
    I also tried putting the FTP server on a different port (2121), but this doesn't work either. Is this just Apple playing nanny and not allowing me to run FTP for my own good? I have been troubleshooting this for two days and no closer to a solution. I hope someone can offer some advice.
    Craig

    I believe that I've found the problem with the AirPort/Time Capsule (version 7.3.1) support for FTP.
    For whatever reason, when an FTP connection comes-in from the WAN, the NAT translation is reporting the IP address of WAN side of the router instead of the IP address of the actual system connecting from the Internet.
    I confirmed this by setting up a FTP server on my Linux machine and watching the connection to the FTP server from the internet. When you perform a:
    netstat -an | grep ':21 '
    from the Linux shell, you see that the IP address that is connected is your own WAN IP address of your AirPort/Time Capsule.
    Apparently the AirPort/Time Capsule recognizes the connection is an FTP client and manipulates the connection in such a way as to report the wrong IP address that is connecting to your FTP server.
    This isn't a problem, unless you're using /etc/hosts.allow and /etc/hosts.deny to have port wrapper permit only listed IP addresses to have access to the FTP service. In that case, all connections seem to come in from your router's WAN IP address, so there's no way to distinguish where the connection is coming from.
    Apple needs to take a closer look at the version 7.3.1 for the Time Capsule (not sure what the version is for the AirPort Extreme) and fix the reported IP address from the WAN side connection.

  • Can't open Serial port in notebook (use Serial to USB)

    OTL
    use Serial to USB and java communication 2.0, windows 2003
    and notebook which has no RS232C port
    testing desktop it is done.
    notebook does not work....
    How can i open serial port in notebook ...

    Saludos
    tengo el mismo problema, aunque he encontrado algunas
    API pero solo tienen soporte para LINUX:
    * jsr80 y
    * jUSB API
    Si tienen alguna solucion haganmela saber.In English via Babelfish (and a little common sense), in case anyone knows a solution:
    Greetings, I have the same problem, although I have found some API but they only have support for LINUX:
    * jsr80
    and
    * jUSB API
    If they have some solution I'd like to know.

  • How can I open ports on my AirPort Extreme, from WINDOWS?

    I have an Airport Extreme as my router, and I have a Windows-based computer. I need to open ports on the router (ironically, it is for my Apple TV).
    However, even though I can use the Airport Utility for Windows (latest version 5.5.3), I cannot open ports from the application.
    Everywhere I look, I am supposed to have a firewall tab in the Advanced section, but I do not have it. The only tabs that I have in Advanced are:
    Logging and Statistics
    MobileMe
    IPv6
    How can I open ports on my Airport Extreme router from Windows?

    Is your AirPort Extreme the only router in your network configuration?

  • How can I open and edit files that were developed and published by ftp to my host on my old macbook, which I can no longer access.

    How can I open and edit files that were developed and published via ftp to my host on my old macbook, which I can no longer access. The HD containing the files cannot be accessed. I want to be able to download the published files to be edited in iweb?

    You CAN'T download published files and then edit them in iWeb because iWeb can't open them - it has no import facility so is unable to open any html or css files - a previously published site.
    You can download these files yes, but you'll need to use them as a guide or to cut and paste text from there whilst you re-build your site in iWeb.
    The only other way is to download the files and then open them with an html editor such as TextWrangler or use one of the other web design programmes out there that is capable of importing html and css such as Dreamweaver of Flux 4.
    These are your only alternatives as iWeb can't import and if you want to continue to use iWeb, then you'll have to re-build your site from scratch.  If you do just remember to back up your domain.sites file this time around - it is found under your User/Library/Applicaion Support/iWeb/domain.sites.

  • How can I open both UDP and TCP ports

    Hi,
    How can i open both tcp and UDP ports for an IP in Cisco ASA?
    Regards
    Ejaz

    Are you referring to port opening in Cisco ASA to permit certain traffic? I believe the following document should help.
    http://www.cisco.com/en/US/docs/security/asa/asa82/configuration/guide/acl_overview.html
    Adding a Standard Access List
    hostname(config)# access-list access_list_name standard {deny | permit} {any | ip_address mask}
    Example:
    hostname(config)# access-list OSPF standard permit 192.168.1.0 255.255.255.0
    http://www.cisco.com/en/US/docs/security/asa/asa82/configuration/guide/acl_standard.html
    Adding an Extended Access List
    access-list access_list_name [line line_number] [extended] {deny | permit} protocol source_address mask [operator port] dest_address mask [operator port | icmp_type] [inactive]
    Example:
    hostname(config)# access-list ACL_IN extended permit ip any any
    http://www.cisco.com/en/US/docs/security/asa/asa82/configuration/guide/acl_extended.html
    Hope this will help.

  • How can you open a network port in Snow Leopard?

    Hello everyone.
    This is really out of my comfort zone, so I hope I don't sound like a complete idiot.
    How do you open a port for an application? I downloaded a new application that requires access to ports 1900 and/or 9335. The application will not run unless one of those ports are free.
    Can anyone shed light on what this means and how to fix it? Is this doable in Snow Leopard or is it something to do with our comcast router?
    Thanks in advance!
    Barry

    Sorry for the delayed response on this as I discovered the problem and forgot to reply.
    Another application, EyeConnect, was using the same port. EyeConnect is related to EyeTV for watching live cable on my Mac and I guess it installed some software that utilized my network.
    Anyhow, I was able to disable it from launching on login and it seemed to do the trick! Thanks again for your input!
    Barry

  • Tecra M1 - Modem doesn't work (can't open a port)

    I have a problem: After reinstalling WinXP and drivers on my Tecra M1, modem doesn't function. It even can't diagnose itself - there always comes a warning: "Can't open a port (COM). It may be used by another device or application". I installed the latest Toshiba drivers for the modem, but nothing changes. How can I fix it? Looking forward for your advices!
    Best regards.

    Hi
    Did you install the drivers in the right order? Not? So do it!
    Did you install any additional devices or software which could has a bad influence on the modem?
    Check the modem status in the device manger. Can you see any yellow exclamation marks?
    Try to start the modem test within the Operating system.
    Check the Modem function under
    Start -> Control Panel -> Phone and Modem Options -> Modems Tab -> Properties -> Diagnostics
    by pressing the "Query Modem" button.
    If the Modem Information window contain a list of AT commands (including ATI2, ATI3, ATI4 etc.), then the modem is correctly installed. The ATI5 command ends in with the number for the selected Regional settings (for example Germany = 06).
    To change the Regional Setting please use the Toshiba Internal Modem Region Select Utility.

  • Can I open a port range in the firewall for one host?

    Can I open a port range in the firewall for one host?  In other words, I want to be able to open ports 54001 to 54050 to allow one remote host in my LAN to access that port range in my Mac Server.  Is this possible?  Currently, the only option I see is to open individual ports for all external hosts (eg http or https)
    Thanks in advance!

    Which version of OS X Server are you using?
    Server 2.2 and earlier includes an interface to a software firewall that can be configured to open specific ports very easily. Descriptions of how to configure the firewall can be found in the documentation for these versions.
    Server 3.x no longer has an interface to the software firewall - it is still there, but you need to use other methods do configure it.  A popular example of such a method is the icefloor utility.
    Apple suggest that for Server 3 you delegate firewall duties to an external router.  Server 3 includes the ability to configure the firewall component of Apple Airport routers 'automatically'
    if you connect a machine running Server 3 directly to an Airport Router the router appears in the LH pane in the Server.app window (usually second line, below the entry for the server itself), and you can control what services are 'enabled' through the firewall there.
    a more common solution perhaps is to use a non-apple router, and configure the firewall (and so open specific ports) through whatever control interface is provided for that router.  There are many many kinds of hardware router you could use, and the control interfaces used vary widely - so you will have to consulting the documentation for your own router to work out how to do this.
    If you post information about your software versions, and hardware configuration, it is possible that you can get more specific help with the tasks involved in opening the ports.
    Hope this helps.

  • Pages demo expired, how can i open or convert what i made in pages?

    i have searched the forums! no luck with this one....
    I have a bunch of pages documents that i created with the demo. I don't like pages. How can i open these pages documents with pages? is there a way to convert them? open with some other application?
    This is kink of a rude effect from using a demo, there should be a way to open without pages.

    I want to open these documents into something to rescue the content, no care for formatting. NOT an unusual request to be able to open a document of any kind with a text editor! But Apple apparently has everyone convinced that i should not be able to port or open with another application! This is more like a Microsoft tactic then one i would see from Apple.
    The reason for a limited-time trial is check out the new to-die-for features, not to have ones work, thoughts, etc locked into something i have to pay for to rescue. (30 days is a joke, should be 90)
    Your not considering the reason for my question, I do not want to use PAGES!
    There should be a waring when closing or opening Pages during demo mode, that stats that when this demo expires, I will not be able to access my work. I do not remember seeing anything like this, i may be incorrect...
    This question remains unanswered.

  • How can I open a Form located in UNIX

    Hi all,
    I have a problem!
    The system in my company is a 3-tier architecture:
    Database-tier: SUN SOLARIS
    Middle-tier (Oracle Application 11i): SUN SOLOARIS
    Clien-tier: Windows 2000/98
    I want to customize the Oracle application's forms. How
    can I open the forms source located in the UNIX (middle tier)
    with forms 6i in Windows 2000?
    If I FTP the source forms from UNIX to my working environment
    (windows 2000), the attached library will be lost. How can
    I easily do the development in such situation?
    Thank you very much!!!!!!

    Just remember,
    the binaries will not be compatible. You can open an .fmb file and modify it on windows machine (assuming you are going to use the same version of developer), after the modifications are don on the windows end, you need to move (copy, ftp, your choice) back to Solaris, and recompile the same form on Solaris to generate a binary (.fmx) for that particular platform. If you made modifications on libraries and/or menus of the same application on windows end, you need to do the same thing - recompile it on the unix end to have the related plx and mmx files.

  • How can I open my portable flash drive in my Macbook Air?

    It doesn't pop-out and I can't figure out how to open it!

    I have a personal portable flash drive of about 150GB and I would like to work on the the document stored in it. When I connect it to my Macbook Air via the USB port nothing happens. It doesnt pop open on the computer screen and I don't know where to navigate to set it open and work on my documents.
    In my last laptop as soon as I connect the flash drive it pops-up and ask me "what I would like to do" and from there I carry on. But in this new Macbook Air I acquire about a month ago, everything seems up-side down and difficult to navigate.
    My question is: how can I open my this portabble flash drive when connected to the Macbook Air? Hope that explains well. Cheers.

  • CardTerminalException:Can't open communication port

    Hi,
    I work with OCF, WinNT and I configure also the opencard.properties to use a GemPC410 Reader in COM3. I get the CardTerminalException: "Can't open Communication port".
    Has anybody an idea what other reasons can provoke this error, or better how to avoid it??
    Thanks in advance!
    Best regards
    deng

    Hi,
    I work with OCF, WinNT and I configure also the opencard.properties to use a GemPC410 Reader in COM3. I get the CardTerminalException: "Can't open Communication port".
    Has anybody an idea what other reasons can provoke this error, or better how to avoid it??
    Thanks in advance!
    Best regards
    deng

Maybe you are looking for

  • Playing a video file retrieved from database using JMF

    Hello! I am developing a multimedia application that has to store videos, music, pictures in a database. I did a little searching and found that JMF is a very good solution in playing video/music using Java. I found some examples to play the video/mu

  • ExtensionContext error while creating Native Extension in Flex 3.6 SDK

    I'm creating native extension with Flex 3.6 . Coded native side then created Flex Library Project and then create .ane file. Finally imported .ane file to myFlex Project. Here is the problem I had. While I'm debugging app, "1046: Type was not found o

  • Any way of modify base directory at runtime (in loaded jars )?

    Hello all, Well, I'm using tomcat to run my web application, which loads dinamically many jars and execute them. My problem is that these jars sometimes have a method that uses relative paths to do something (read files, create files, etc). Currently

  • Hyperlinks do not open same Brower window/tab

    Hi In my PDF I placed hyperlinks - all of them should alway open in the same Browser window / tab. I tried this as a standard Hyperlink, then with launchURL as a AcroJS but it didn't work. Has anyone expierence in always opening in the same window or

  • Firefox / Mail issues

    I'm using a 23" Intel iMac running OS X 10.5.8, using a Magic Mouse. Several times every day both Mail and Firefox apps freeze. Neither will then Force Quit, and the machine will not Restart or Shut Down. I have to power the machine off at the button