TO Nazar78:
Many thanks for your competent help so far. I’ve made big progress, but still can’t connect from my workplace.
Let me tell you what I did and found out:
- First of all, my Router settings you can see in the provided snapshot: UPnP is enabled
2. Secondly, the port forwarding: IT WORKS ! (snapshot 2)
A question about the protocol: There is a second protocol available, I think “UDPn” or something like that. Can I enable both or do I really ONLY need TCP ? Would it mess up things if I enabled both?
- So, now the interesting part:
I did what you suggested and figured out my EXTERNAL IP ADDRESS OF MY ROUTER with the link you provided, lets say, it is XX. I then connected from my home WLAN to an external net via VPN connection. (I cannot connect to the LAN of my workplace from home. I don’t know how to do it and I think its not possible from outside). From there I now typed in a shell: ssh root@XX and voilá:
I was asked for my password. First, I tried the password of my Router which didn’t work and then the one of my WDMyCloud and it worked! I GOT CONNECTED. Then I connected from WDMyCloud back to the external IP-Address of the VPN connection and from there back again to my router IP-address (which is obviously forwarded to my WDMycloud) and I could connect again to my WDMYCloud! Then I did the command: ssh root@MySecondCloud where MySecondCloud is the local, internal address of my second WDMyCloud (2TB) which I also have connected to my Router, and it also worked !
So, all in all, I can connect from the external VPN connected network back to my Router @ home! Plus, I can also use now MySecondCloud by forwarding for example port 2222 to the local IP of MySecondCloud in the router and it worked, too !!
Here is a snapshot of the shell I used to do this (in the early morning hours): (please continue after the picture).
So it seemed that finally EVERYTHING would work exactly as I want it. I have then (still at home) issued the ssh command from the tool syncovery (but this time using the EXTERNAL IP ADDRESS OF MY ROUTER). Before, I had always used only the internal WLAN address! So, now the connection and synchronizing works at home, when I am within my local WLAN, but ALSO from external access when I am connected to a network outside my WLAN via VPN connection. PERFECT !!
- Now comes the dissappointment:
Right now, I am at my workplace again, and use the very same settings of the shell and within my syncovery tool to do the connections and the synchronization AND IT ALWAYS FAILS !
For example, when I type in the shell (which worked from home when using the external VPN-connected network previously):
ssh root@XX(my external RouterIP)
I always get:
ssh: connect to host XX port 22: Operation timed out
When I do
PING XX (XX): 56 data bytes
I get
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
SO, as a result it still DOES NOT WORK FROM MY WORKPLACE !
NOW THE WEIRED THING: From my work I can also connect to the external network via VPN. WHEN I DO THIS EVERYTHING WORKS, just like it did from home. The connection is there, I can login, I can use syncovery for synchronizing, etc.
- Now, the thing is, I don’t want to have to connect to the other external network (also external to the LAN at my work) via VPN all the time when I want to do (fully automated) synchronizations of my data. (also, I might not have that account anymore in a year or so and then I would be in trouble again). SO, do you have any idea what’s happening here? Why does it obviously work from the external VPN network and then probably from any computer in the world that is connected with the internet, but just not when I am connected to my local LAN at my workplace ? Is probably the policy at my workplacew so restrictive that NOTHING is Allowed ? I cannot believe this, because then I don’t understand still, why the connection via http and https with the WDMYCloud App still works from my workplace (also, when NOT being connected via VPN). So, could I maybe exploit the fact, that this App obviously gets a connection by using, or rather, re-directing ports 80 and/or 443 on my router, so that I could try to connect with snycovery via ssh using some port such as 2222 and then re-direct this to port 80 on my local MyCloud? It seems to me, that via shell I just don’t get ANY connection to the outside world from my LAN at work. Could this be the case ?
ANY IDEAS how I could proceed from here to check what’s going on with my LAN at work and finally get to what I really want, namely synchronizing everything with WDMyCloud at home when I am connected in the LAN@work ???
I appreciate any help & ideas ! (you’ve been of great help so far! Thanx a LOT for that already)