---
updatedAt: 2026-04-20T19:21:14.000Z
---

# Set up a proxy server

You can set up the **Sandbox Client** to communicate with the gateway via a proxy server. It works by using HTTP CONNECT to create a secure connection.

1. Open your `config.json` file.

2. Modify the file to include your proxy server settings.

   ```
   "proxy": {
       "host": "127.0.0.1",
       "secure": false,
       "port": 2015,
       "user": "user",
       "pass": "abc123"
     },
   ```

[block:callout]
{
  "type": "info",
  "body": "When adding a proxy section, you must also add `useProxy: true` to the `originMappings` section.\n\n```\n\"originMappings\": [ \n {\n    \"useProxy\": true \n } \n]\n```"
}
[/block]

# Sibling pages

* [Use a custom certificate](https://techdocs.akamai.com/sandbox/docs/use-a-custom-certificate.md)
* [Allow variables for origin mappings](https://techdocs.akamai.com/sandbox/docs/allow-variables-for-origin-mappings.md)