Scroll to navigation

FASTD(1) User Commands FASTD(1)

NAME

fastd - Fast and Secure Tunnelling Daemon

SYNOPSIS

fastd OPTION...

DESCRIPTION

fastd is a very small VPN daemon which tunnels IP packets and Ethernet frames over UDP. It supports various modern encryption and authentication schemes and can be used in many different network topologies (1:1, 1:n, meshed).

OPTIONS

Shows a help text.
Shows the fastd version.
Runs fastd in the background.
Writes fastd's PID to the specified file.
Configure a socket to get fastd's status.
Loads a config file. - can be specified to read a config file from stdin. More than one config file can be loaded.
Loads a config file for a single peer. The filename will be used as the peer name.
Loads all files from a directory as peer configs. On SIGHUP fastd will reload peer directories.
Sets the user to run fastd as.
Sets the group to run fastd as.
Sets the stderr log level; default is info if no alternative log destination is configured.
Sets the log level for syslog output; default is not to use syslog.
Sets the syslog identification; default is fastd.
Hides IP addresses in log output.
Hides MAC addresses in log output.
Sets the mode of the interface; default is TAP mode.
Sets the name of the TUN/TAP interface to use. If not specified, default names specified by the system will be used.
Sets the MTU; must be at least 576.
Sets the bind address. Address can be an IPv4 address or an IPv6 address, or the keyword any. IPv6 addresses must be put in square brackets.

By default fastd will to bind to a random port for both IPv4 and IPv6. It is currently not possible to specify an IPv6 link-local address on the command line.

Sets the handshake protocol. Currently the only protocol available is ec25519-fhmqvc, which provides a secure authentication of peers based on public/secret keys.
Sets the encryption method.
Enables forwarding of packets between peers; read the full documentation before use!
Sets a shell command to execute before interface creation.
Sets a shell command to execute after interface creation.
Sets a shell command to execute before interface destruction.
Sets a shell command to execute after interface destruction.
Sets a shell command to execute when a handshake is sent to establish a new connection.
Sets a shell command to execute when a new connection is established.
Sets a shell command to execute when a connection is lost.
Sets a shell command to execute to check a connection attempt by an unknown peer.
Checks the configuration and exits.
Generates a new keypair.
Shows the public key corresponding to the configured secret.
Suppresses output of explaining text in the --show-key and --generate-key commands.

SEE ALSO

The full documentation for fastd is available online at https://gluon.readthedocs.io/.

Additional resources can be found in the Wiki at https://github.com/NeoRaider/fastd/wiki.

June 2021 fastd v22