Michael McDonald
Cadet
- Joined
- May 14, 2014
- Messages
- 6
Hi everyone. I am reasonably new to Freenas so please bear with me. I have read through the forums for days now and have not yet found a resolution for my problem, so here goes with my first post.
I have recently built a Freenas server following the excellent hardware guidelines in this forum. The server was up and running in no time and was quick and easy to set-up volumes, data sets, shares etc etc. All good. I would like to use the server as a backup target for remote computers across the internet. I decided to achieve this using Rsync and SSL. I have managed to set-up both Rsync and SSL, and can now successfully carry out a backup using Deltacopy (on my Windows 8 PC) to the Freenas. The public and private keys used by SSL are working correctly and the backup runs smoothly without me being prompted for a username or password.
The Windows 8 PC is currently located on my local domain, so my next test was to forward ports 22 (SSH) and 873 (Rsync) on my router to the Freenas box, then take the PC outside my domain to try the backup across the internet. This is where I have got stuck. Using either the internet IP address of my router, or a dynamicDNS address which I have set-up, the following error is always reported in Deltacopy.
ssh: connect to host xx.xxx.xxx.xx port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632) [sender=3.0.4]
I can ping the router IP successfully. When I try to telnet to the IP and port 22, I get the following error:
Could not open connection to the host, on port 22: Connection failed
I have tried a variety of port checkers and they all tell me the port is forwarding correctly, unless I switch the Freenas off, then they tell me the port is not forwarded. Seems OK. I have tried turning off the firewall on both my PC and the router.
My suspicions are that this is a problem with the router. It is a Brightbox provided EE in the UK. My next debugging step is to replace the router with a different one, but this is going to be very time consuming. I am not a networking expert, so I wondered if anyone could suggest some tools/methods I might use to debug this problem further.
Many thanks,
I have recently built a Freenas server following the excellent hardware guidelines in this forum. The server was up and running in no time and was quick and easy to set-up volumes, data sets, shares etc etc. All good. I would like to use the server as a backup target for remote computers across the internet. I decided to achieve this using Rsync and SSL. I have managed to set-up both Rsync and SSL, and can now successfully carry out a backup using Deltacopy (on my Windows 8 PC) to the Freenas. The public and private keys used by SSL are working correctly and the backup runs smoothly without me being prompted for a username or password.
The Windows 8 PC is currently located on my local domain, so my next test was to forward ports 22 (SSH) and 873 (Rsync) on my router to the Freenas box, then take the PC outside my domain to try the backup across the internet. This is where I have got stuck. Using either the internet IP address of my router, or a dynamicDNS address which I have set-up, the following error is always reported in Deltacopy.
ssh: connect to host xx.xxx.xxx.xx port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632) [sender=3.0.4]
I can ping the router IP successfully. When I try to telnet to the IP and port 22, I get the following error:
Could not open connection to the host, on port 22: Connection failed
I have tried a variety of port checkers and they all tell me the port is forwarding correctly, unless I switch the Freenas off, then they tell me the port is not forwarded. Seems OK. I have tried turning off the firewall on both my PC and the router.
My suspicions are that this is a problem with the router. It is a Brightbox provided EE in the UK. My next debugging step is to replace the router with a different one, but this is going to be very time consuming. I am not a networking expert, so I wondered if anyone could suggest some tools/methods I might use to debug this problem further.
Many thanks,