Version v1.7 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation, see the latest version.

Corporate Proxies

How to configure Talos Linux to use proxies in a corporate environment

Appending the Certificate Authority of MITM Proxies

Put into each machine the PEM encoded certificate:

yaml
machine: ... files: - content: | -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- permissions: 0644 path: /etc/ssl/certs/ca-certificates op: append

Configuring a Machine to Use the Proxy

To make use of a proxy:

yaml
machine: env: http_proxy: <http proxy> https_proxy: <https proxy> no_proxy: <no proxy>

Additionally, configure the DNS nameservers, and NTP servers:

yaml
machine: env: ... time: servers: - <server 1> - <server ...> - <server n> ... network: nameservers: - <ip 1> - <ip ...> - <ip n>

If a proxy is required before Talos machine configuration is applied, use kernel command line arguments:

text
talos.environment=http_proxy=<http-proxy> talos.environment=https_proxy=<https-proxy>
Last modified January 18, 2024: docs: fork docs for v1.7 (fe24139f3)