Skip to main content
CrashPlan Support

Connecting To Code42 Cloud Destinations From A Proxy Server

Applies to:
  • CrashPlan for Home
Need enterprise or small business documentation?
This article is intended for CrashPlan for Home users. For Code42 CrashPlan and CrashPlan PRO documentation, read this page on our enterprise support site.

Overview

To connect to a Code42 cloud destination from behind a proxy server, you must configure the proxy server settings. If you are able to make an initial connection to the destination without connecting through a proxy, configure your proxy settings from the CrashPlan app. However, if you can only connect through a proxy, then you must configure proxy settings manually. Both processes are described below.

Considerations

CrashPlan does not support SOCKS-only HTTP proxies.

Recommended solution

If you are able to make an initial connection to the destination without connecting through a proxy, configure proxy settings in the CrashPlan app:

  1. Open the CrashPlan app.
  2. Go to Settings > Network.
  3. Select Proxy enabled.
  4. If your proxy connection requires a proxy auto-config (PAC) file, then enter the file URL in Proxy PAC URL.
  5. Click Save.

The CrashPlan app can now detect your proxy settings and connect to the destination, allowing you to begin your backup and modify your settings.

Alternative solution

If you must connect to the destination through a proxy for initial setup, then you must configure your proxy settings on your device (not in the CrashPlan app) in order to start your backup and modify your settings.

  1. Stop the CrashPlan service.
  2. Find my.service.xml.
    Default location:
    • Windows Vista, 7, 8, 10, Server 2008, and Server 2012: C:\ProgramData\CrashPlan\conf
      To view this hidden folder, open a file browser and paste the path in the address bar. If you installed per user, see the file and folder hierarchy for file locations.
    • Windows XP: C:\Documents and Settings\All Users\Application Data\CrashPlan\conf
      To view this hidden folder, open a file browser and paste the path in the address bar. If you installed per user, see the file and folder hierarchy for file locations.
    • OS X: /Library/Application Support/CrashPlan/conf/
      If you installed per user, see the file and folder hierarchy for file locations.
    • Linux: /usr/local/crashplan/conf
  3. Open the file in a text editor as an administrator (Windows) or with an editor that has root permissions (OS X/Linux).
    See External Resources for more information.
  4. Find the section marked by <servicePeerConfig></servicePeerConfig>.
  5. Change the value inside the <useProxy> flag from false to true:
    • Old: <useProxy>false</useProxy>
    • New: <useProxy>true</useProxy>
  6. If your proxy requires a PAC file:
    1. Find the section marked <remotePACFileUrl>.
    2. Change this sections value, depending on your PAC file:
      • Old: <remotePACFileUrl nil="true"/>
      • New: <remotePACFileUrl>proxy.example.com</remotePACFileUrl>
  7. Save your changes.
  8. Start the CrashPlan service.

Still cannot connect?

If your CrashPlan app still cannot connect to the destination, add proxy values to default.service.xml.

  1. Stop the CrashPlan service.
  2. Find default.service.xml
    Default location:
    • Windows Vista, 7, 8, 10, Server 2008, and Server 2012: C:\Program Files\CrashPlan\conf\
      If you installed per user, see the file and folder hierarchy for file locations.
    • OS X: /Applications/CrashPlan.app/Contents/Resources/Java/conf/
      If you installed per user, see the file and folder hierarchy for file locations.
    • Linux: /usr/local/crashplan/conf
  3. Open the file in a text editor as an administrator (Windows) or with an editor that has root permissions (OS X/Linux).
    See External Resources for more information.
  4. Find the section marked by <servicePeerConfig></servicePeerConfig>.
  5. Add the following to that section: <useProxy>true</useProxy>
  6. If your proxy requires a PAC file, add: <remotePACFileUrl>proxy.example.com</remotePACFileUrl>
  7. Save your changes.
  8. Start the CrashPlan service.

Confirming your connection

To confirm that the client is able to connect to the server using the proxy:

  1. Open the CrashPlan app.
  2. Double-click the CrashPlan logo in the upper-right corner.
  3. Enter the following command-line command, using the server and port for the destination:
    proxy test central.crashplan.com:443
    

This will also list the proxies returned by the PAC file that the CrashPlan app is using.