

generate-rsa-keys Generate public/private RSA key pair and exit. generate-ed25519-keys Generate public/private Ed25519 key pair and exit. generate-keys Generate both RSA and Ed25519 key pairs (see below) and exit. pid Shows the PID of the currently running tincd(8). Connections to hosts whose hostĬonfig files are removed are closed. reload Partially rereads configuration files. restart Restart tincd(8), optionally with the given extra start Start tincd(8), optionally with the given extra join Join an existing VPN using an invitation URL created using the inviteĬommand. Name, and prints a short invitation URL that can be invite name Prepares an invitation for a new node with the given exchange-all The same as export-all followed by import. exchange The same as export followed by import. AlreadyĮxisting host configuration files are not overwritten unless the option import Import host configuration data generated by the

export-all Export all host configuration files to standard output. export Export the host configuration file of the local node to standard edit filename Start an editor for the given configuration file. del variable Remove configuration variables with the same name andĪll configuration variables with the same name will be removed. If the variable already exists with the given value, nothing add variable value As above, but without removing any previously existing configuration Variables with the same name are removed. set variable value Set configuration variable variable to the given Name exists, the value of each of them will be printed on a separate get variable Print the current value of configuration variable COMMANDS ¶ init Create initial configuration files and RSA and Ed25519 key pairs withĭefault length. n option, the value of this environment variable ENVIRONMENT VARIABLES ¶ NETNAME If no netname is specified on the command line with the version Output version information and exit. force Force some commands to work despite warnings. b, -batch Don't ask for anything (non-interactive mode). pidfile= FILENAME Use the cookie from FILENAME to authenticate with a

OPTIONS ¶ -n, -net= NETNAME Communicate with tincd(8) connected with That case, lines starting with a # symbol will be ignored. Pipe a script containing commands through tinc. History and command completion are available on the prompt. Or export host configuration files from other nodes.ĬOMMAND, this command is immediately executed, afterĪct as a shell it will display a prompt, and commands can be entered on the It can also be used to change the configuration, or to import Tincd(8), and can to alter and inspect the state of a This is the control program of tinc, a secure virtual private
