Files
cunicu/docs/usage/md/cunicu_daemon.md
Steffen Vogel 92a7ad2f7f daemon: use per-interface features
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-10-07 18:30:50 +02:00

3.0 KiB

title, sidebar_label, sidebar_class_name, slug, hide_title, keywords
title sidebar_label sidebar_class_name slug hide_title keywords
cunicu daemon daemon command-name /usage/man/daemon true
manpage

cunicu daemon

Start the daemon

cunicu daemon [interface-names...] [flags]

Examples

$ cunicu daemon -u -x mysecretpass wg0

Options

  -A, --auto-config                         Enable setup of link-local addresses and missing interface options (default true)
  -b, --backend URL                         One or more URLs to signaling backends
  -x, --community passphrase                A passphrase shared with other peers in the same community
  -c, --config filename                     One or more filenames of configuration files
  -S, --config-sync                         Enable synchronization of WireGuard configuration files (default true)
  -D, --domain domain                       A DNS domain name used for DNS auto-configuration
  -E, --endpoint-disc                       Enable ICE endpoint discovery (default true)
  -H, --host-sync                           Enable synchronization of /etc/hosts file (default true)
      --ice-candidate-type candidate-type   Usable candidate-types (one of host, srflx, prflx, relay)
      --ice-network-type network-type       Usable network-types (one of udp4, udp6, tcp4, tcp6)
  -p, --password password                   The password for STUN/TURN credentials
  -P, --peer-sync                           Enable peer discovery (default true)
  -R, --route-sync                          Enable synchronization of AllowedIPs and Kernel routing table (default true)
  -T, --route-table int                     Kernel routing table to use (default 254)
  -s, --rpc-socket path                     The path of the unix socket used by other cunicu commands
      --rpc-wait                            Wait until first client connected to control socket before continuing start
  -a, --url URL                             One or more URLs of STUN and/or TURN servers
  -u, --username username                   The username for STUN/TURN credentials
  -w, --watch                               Watch configuration files for changes and apply changes at runtime.
  -i, --watch-interval duration             An interval at which we are periodically polling the kernel for updates on WireGuard interfaces
  -U, --wg-userspace                        Use user-space WireGuard implementation for newly created interfaces
  -h, --help                                help for daemon

Options inherited from parent commands

  -C, --color string       Enable colorization of output (one of: auto, always, never) (default "auto")
  -l, --log-file string    path of a file to write logs to
  -d, --log-level string   log level (one of: debug, info, warn, error, dpanic, panic, and fatal) (default "info")
  -v, --verbose int        verbosity level

SEE ALSO

  • cunicu - cunīcu is a user-space daemon managing WireGuard® interfaces to establish peer-to-peer connections in harsh network environments.