Skip to main content

Instructor, no.

Incydr Professional, Enterprise, Horizon, and Gov F2, no.

Incydr Basic, Advanced, and Gov F1, yes.

HOME
GETTING STARTED
RELEASE NOTES
FAQs
APIs
SYSTEM STATUS
Code42 Support

Backup occurs over excluded wireless networks connected to VPN

Overview

If devices in your Code42 environment are not honoring wireless network exclusions while connected to VPN, follow the steps below to stop backup traffic over excluded networks.

Recommended solution

Step 1: Find the numeric OrgID

To completely exclude wireless networks, you must first identify the numeric ID of the applicable organization.

  1. Sign in to the Code42 console.
  2. Select Administration > Environment > Organizations.
  3. Select Export.
    The list of organizations is downloaded to your device as a CSV file.
  4. Open the downloaded CSV and locate the applicable organization.
  5. Note the numeric ID in the orgID column.
Identify which orgID to use
To update your entire Code42 environment, use the orgID ​​​​of your top-level organization. This organization is at the top of the organizational hierarchy and is the parent for all other organizations. To apply different values to different organizations, use the orgID of a child organization, repeating the steps below with each child organization as necessary.

Step 2: Use the Code42 API to exclude backups

The steps below assume basic familiarity with curl commands. Use the following example as a template to create a command specific to your Code42 environment:

Copied!
curl -X PUT \
  '<request_url>/api/v1/OrgSettings/<OrgID>' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <auth_token>' \
  -d '{ 
    "packets": [
        {
            "key": "device_network_alwaysBlockWhenOnBlacklistedWirelessNetwork",
            "value": "true",
            "locked": true
        }
    ]
}'
  1. Replace <request_url> with the address of your Code42 environment (do not include the brackets in your request).
  2. Replace <OrgID> with the number identified in Step 1 above (do not include the brackets in your request).
  3. Replace <auth_token> with an authentication token.
  4. Set the value parameter to true to block backups. Set the value parameter to false to allow backups.
  5. Execute the curl command in your command-line tool of choice.

Step 3: Confirm the setting

Use the GET method to view the current value of the setting. The OrgSettings resource also contains keys for numerous other Code42 settings. Therefore, to view only your customizations, you must include the device_network_alwaysBlockWhenOnBlacklistedWirelessNetwork key as a query parameter.

The example below assumes basic familiarity with curl commands. Use this as a template to create a command specific to your Code42 environment:

Copied!
curl -X GET \
  '<request_url>/api/v1/OrgSettings/<OrgID>?keys=device_network_alwaysBlockWhenOnBlacklistedWirelessNetwork' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <auth_token>'
  1. Replace <request_url> with the address of your Code42 environment (do not include the brackets in your request).
  2. Replace <OrgID> with the number identified in Step 1 above (do not include the brackets in your request).
  3. Replace <auth_token> with an authentication token.
  4. Execute the curl command in your command-line tool of choice. When prompted, enter your password.
    The Code42 API returns details about the setting and includes either the key pair "value":"true" or "value":"false". If the setting has not been defined yet, the data parameter in the response is empty.

Related topics

  • Was this article helpful?