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 fileprivate-key-- path to the tunnel's private key fileexternal-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 tunnelstatic-addr = 10.115.0.0/16-- static IP address within the overlay network (the default value10.115.0.0/16means 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.