Cannot for the life of me get Crashplan SSH tunnel working! please help!

Status
Not open for further replies.

windyboi

Explorer
Joined
Jan 7, 2016
Messages
79
I have read numerous guides combined, but I cannot get my Mac to connect to the Crashplan plugin on FreeNAS!

I have a script on my Mac: (servicePort in ui.properties = 4200)
FYI: 192.168.1.100 is the Ip of my Macbook, and 192.168.1.3 is the IP of my Crashplan jail.

#!/bin/bash
# Port forward to FreeNAS for Crashplan plugin
SERVICE_PORT=`cat /Applications/CrashPlan.app/Contents/Resources/Java/conf/ui.properties | grep servicePort | egrep -v '#' | awk -F "=" '{print $2}'`
CRASHPLAN_USER="crashplan"
CRASHPLAN_JAIL=192.168.1.3
echo "Connecting on Service Port: $SERVICE_PORT"
echo "Expecting Crashplan FreeNAS Jail at: $CRASHPLAN_USER@$CRASHPLAN_JAIL"
# Connect to crashplan
ssh -L $SERVICE_PORT:127.0.0.1:4243 $CRASHPLAN_USER@$CRASHPLAN_JAIL -N


I can verify that when I run this script, the result of
lsof -i tcp | grep ^ssh
is:

ssh 11688 Jamie 3u IPv4 0xb6edbbe79e08473 0t0 TCP jamies-mbp:61437->192.168.1.3:ssh (ESTABLISHED)
ssh 11688 Jamie 6u IPv6 0xb6edbbe8bb21f03 0t0 TCP localhost:4200 (LISTEN)
ssh 11688 Jamie 7u IPv4 0xb6edbbe8bf20d7b 0t0 TCP localhost:4200 (LISTEN)


On the server, in the Crashplan jail I see this:

root@crashplan_1:/ # sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
crashplan sshd 72514 5 tcp4 192.168.1.3:22 192.168.1.100:61437
root sshd 72512 5 tcp4 192.168.1.3:22 192.168.1.100:61437
root java 8386 59 tcp4 127.0.0.1:4243 *:*
root java 8386 60 tcp4 *:4242 *:*
root java 5740 59 tcp4 127.0.0.1:4243 *:*
root java 5740 60 tcp4 *:4242 *:*
root java 5739 59 tcp4 127.0.0.1:4243 *:*
root java 5739 60 tcp4 *:4242 *:*
etc..


But when I start the Crashplan Desktop App on my Mac, it looks no different to when I started it on my Mac without being tunneled to the FreeNAS. Also, I can confirm in the Crashplan logs that it is still stuck on 3.6.3.

I'm aware of the fix listed here:
https://forums.freenas.org/index.php?threads/crashplan-3-6-3.18416/#post-101205

But im not even at that stage yet (and I verified that my run.conf looks as it should)

Any help much appreciated, I've been pulling my hair out for weeks over this!

Thank you
 

Rocketman

Cadet
Joined
Nov 29, 2015
Messages
1
same with me. The problem seems to be that the plugin uses crashplan 3.6 and that is not compatible with crashplan 4.x and up.

I have a service request into code42 to see if I can get a version 3.6. I'll let you know what they say...
 

windyboi

Explorer
Joined
Jan 7, 2016
Messages
79
same with me. The problem seems to be that the plugin uses crashplan 3.6 and that is not compatible with crashplan 4.x and up.

I have a service request into code42 to see if I can get a version 3.6. I'll let you know what they say...

Ah ok, so I've got my tunnel set up correctly similar to yours then?

Great, thanks! :)
 

windyboi

Explorer
Joined
Jan 7, 2016
Messages
79
Anyone else here able to help?

I'm wondering why the crash plan plugin which is built into freeNAS is so outdated. It is one of the main reasons I chose freeNAS, but it seems to be such a ball ache.
 

smalahove

Cadet
Joined
Aug 5, 2016
Messages
2
Anyone else here able to help?

I'm wondering why the crash plan plugin which is built into freeNAS is so outdated. It is one of the main reasons I chose freeNAS, but it seems to be such a ball ache.

Although the plugin itself has version 3.6.3, crashplan autoupdates. You can check this in the logs on your server:

Code:
% cat /usr/pbi/crashplan-amd64/share/crashplan/log/history.log.0 | grep version
<snip>
I 08/05/16 10:06AM CrashPlan started, version 4.3.3, GUID xxxxxxxxxxxxxxx
</snip>


I've not had any success currently with connecting the client to my server, although the ssh tunnel is working. A version mismatch between server and client is likely, I fear.
 
Status
Not open for further replies.
Top