Staex logostaexDocs
Docs/Tunnel Configuration File

Tunnel Configuration File

Reference for MCC tunnel configuration files in the /etc/mcc/tunnels directory.

Overview#

Tunnel configuration files are stored in the /etc/mcc/tunnels directory. MCC reads all files in this directory that have a .conf extension. You can override the directory path using the tunnels property in the main configuration file.

Parameters#

  • certificate -- path to the dependent node's certificate file
  • private-key -- path to the tunnel's private key file
  • external-ip-address = 0.0.0.0 -- external IPv4 address to proxy (RFC 1918 only)
  • dns-names -- comma-separated DNS names for the server endpoint of the tunnel
  • static-addr = 10.115.0.0/16 -- static IP address within the overlay network (the default value 10.115.0.0/16 means no static address is assigned)

Creating Tunnel Configs#

While you can create tunnel configuration files manually, the recommended approach is to use the mcc create-tunnel command. It generates the configuration files along with the necessary certificates and private keys automatically, placing them in the tunnels directory.