Is your MyCloud within, or outwith your university’s network? i.e. are you trying to access your MyCloud FTP server (located at home) from within the university, or access your MyCloud FTP server (located within the university), whilst at home?
Does a web-based FTP client such as Filezilla not work, or is all FTP traffic blocked?
Is the ISP blocking all FTP inbound access or just the inbound access on the FTP port 21?
Typically an ISP, if they do block inbound access, will only block the specific port, in this case port 21 for FTP. One, if their router/gateway supports it, can configure “port forwarding” within the router to forward another port inbound port to port 21 on the My Cloud. See your router’s administration page and documentation to setup port forwarding if it is supported by the router.
to be honest im not sure how they are blocking it.
I know they have the cisco firewal (ASA) but a short backstory, they fired 90% of the IT staff so no one is really looking to make changes to how things are done and no one knows how the system works anymore.
I can access some FTP sites as long as they use http (http://ftp.example.com) but i can access my own (ftp://ftp.example.com)
they could just be blocking port 21 or they could be checking the content.
having problems with ports.
Set vsftpd.conf listen port to 50501 and restarted the service however it wont connect should i use a specific port ?
I’m not too worried about the security. there’s little to no personal data on there, its mainly for my work so i can work between uni, work and home without a million USB drives (also with USB blocking).
Using ftp URI in the browser won’t work, think it was removed long ago (since XP?) not sure why. Do it in windows explorer instead if you don’t have ftp client. You’ll get a permission denied error prompt, click ok then r-click on the blank area, login as.
The above should work provided port 50501 isn’t blocked as well. I used to work very closely with the IT security department to troubleshoot firewall, routes and stuffs. Usually only port 80/443 is open for outgoing and requires you to route via the company’s proxy. Proxy will not work in windows explorer.
A side note, you don’t have to change the MyCloud FTP daemon port, as pointed out by Bennor, route port 50501 from your router to MyCloud’s 21.
messing with the PCs in anyway including adding network drives is not an option (they even disable right click on most PCs) browser based is my only option at this point which brings me back to my original question. is there a simple way to host the FTP using a HTTP webserver ?
I haven’t tested but if you want to try on the existing Apache2 web server (from what I see it should work), as per-norm warranty void disclaimer applies, extract the zip into /var/www/htdocs/ftp then access it from http://wdmycloud/ftp or http://192.168.1.x/ftp or even your DDNS or public IP (provided you did the port forward).
It is really simple to setup and integration is automatic. Note: Use the following at your own risk!
General Monsta FTP Install Steps:
Make sure to enable FTP in the WD My Cloud Dashboard > Settings > Network > Network Services > FTP Access = On.
Next, ensure SSH is on by activating it on the WD My Cloud Dashboard > Settings > Network > Network Services > SSH = On.
Next, using SSH (Putty is a popular SSH terminal program) log into the My Cloud. Note: If you don’t know how to use SSH or even basic Linux commands please perform a Google search to learn how to use SSH and enter basic Linux commands.
Once logged into the My Cloud via SSH, type: cd /var/www/htdocs/
In the /var/www/htdocs/ folder type: mkdir ftp
Next, type: cd ftp
In the /var/www/htdocs/ftp folder type: wget http://www.monstaftp.com/download/monsta_ftp_v1.6.4_install.zip
Next, type: unzip monsta_ftp_v1.6.4_install.zip
Once the file has finished unzipping access the Monsta UI on your My Cloud by using your web browser and going to: http://<mycloudname or ip address>/ftp
On the Monsta FTP UI page, for the “FTP Host” enter your My Cloud name or IP address. Then use your My Cloud User name and password in the Username and Password fields. Then click the Login button and you should be logged into your My Cloud and can use the Monsta FTP UI page to upload files to your My Cloud.
Update 1: Once port forwarding (http port 80) was setup and configured within the router/gateway to forward http port 80 to the My Cloud, I was able to remotely access the Monsta FTP UI at my public IP address (for example http://12.345.678.900/ftp). One word of note when accessing remotely, use the local network name or IP address for the My Cloud in the Monsta FTP UI’s FTP Host field.
Unknown how secure this UI is, in other words are the login information sent as plain text. There is an option on the Monsta FTP UI to “Connect using SSL (if available)” but unknown how this is setup (port forward HTTPS or SSH?) .
Update 2: Removing the Monsta FTP program/UI should be as simple as just deleting the /var/www/htdocs/ftp folder and its contents via SSH. If removing the Monsta FTP program/UI remember to remove the port mappings to the My Cloud within one’s router/gateway as well. Note: Take care when deleting the /var/www/htdocs/ftp folder, make sure to remove ONLY the ftp folder and no others within the /var/www/htdocs/ directory.
This is TLS/SSL Explicit Encryption (FTPS), by default not enabled on MyCloud’s vsftpd. No point trying to enable FTPS on MyCloud and using this on the app if you’re only connecting to internal MyCloud via this app. It will make things slower.
If you’re concerned about security especially the plain text credential, switch to TLS(preferred)/SSL, in simpler terms, HTTPS/443 instead of HTTP/80. You can also add HTTP authentication realm to the path for private use, the HTTP user/pass will be sent encrypted in HTTPS (see my webhosting mods, links below->how to secure wdmycloud or Google).
No problem enjoy (-: Wonderful things you could do with this low-end NAS My up-coming project is upgrading to PHP7 (lower resources and x2 the performance of PHP5), the Dashboard is snappy with PHP7.0.2
If you start to play around with PHP, take note about Opcache cause it’s enabled in MyCloud. Any changes to the codes/settings needs you to reload them, in this case Apache itself service apache2 reload;
The traffic from the computer to the UI, if one is outside their home network is where the security is a potential issue for some. Those folks will want a more secure path which will entail some more work, as you point out, on their part beyond just unzipping the app and port forwarding one port.
This is a good easy to setup and use solution for those who don’t or can’t use a stand alone FTP app on the remote side.