<commit_before>---
layout: page
title: Firewall / Proxy
description: Information about CoScale agent firewall settings and proxy configuration.
---

## Firewall
By default, all CoScale agents communicate with the CoScale platform over a secured SSL connection. The agent communicates with one host `api.coscale.com` on TCP port 443. No incoming connections are required.

## Proxy
The CoScale agent allows to send data using a proxy. This can be configured by setting an environment variable HTTPS_PROXY.

* For Linux systems this means adding an environment variable to `/opt/coscale/agent/wrapper.sh`

    `export https_proxy=http://[ip]:[port]/`

    After please [restart]({{ site.baseurl }}/agent/agent-restart) the agent.

* For Microsoft Windows a global environment variable HTTPS_PROXY must be set.
<commit_msg>Updated location of CoScale configuration script<commit_after>---
layout: page
title: Firewall / Proxy
description: Information about CoScale agent firewall settings and proxy configuration.
---

## Firewall
By default, all CoScale agents communicate with the CoScale platform over a secured SSL connection. The agent communicates with one host `api.coscale.com` on TCP port 443. No incoming connections are required.

## Proxy
The CoScale agent allows to send data using a proxy. This can be configured by setting an environment variable HTTPS_PROXY.

* For Linux systems this means adding an environment variable to `/etc/default/coscale-agent`

    `export https_proxy=http://[ip]:[port]/`

    After please [restart]({{ site.baseurl }}/agent/agent-restart) the agent.

* For Microsoft Windows a global environment variable HTTPS_PROXY must be set.

{'fraction_non_alphanumeric': 0.07476076555023924, 'fraction_numerical': 0.0035885167464114833, 'mean_word_length': 4.521452145214521, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5422736', 'n_tokens_mistral': 441, 'n_tokens_neox': 426, 'n_words': 205}