netclient-join.txt 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. alex@workstation:~$ sudo netclient join --help
  2. NAME:
  3. netclient join - Join a Netmaker network.
  4. USAGE:
  5. netclient join [command options] [arguments...]
  6. OPTIONS:
  7. --network value, -n value Network to perform specified action against. (default: "all") [$NETCLIENT_NETWORK]
  8. --password value, -p value Password for authenticating with netmaker. [$NETCLIENT_PASSWORD]
  9. --endpoint value, -e value Reachable (usually public) address for WireGuard (not the private WG address). [$NETCLIENT_ENDPOINT]
  10. --macaddress value, -m value Mac Address for this machine. Used as a unique identifier within Netmaker network. [$NETCLIENT_MACADDRESS]
  11. --publickey value, --pubkey value Public Key for WireGuard Interface. [$NETCLIENT_PUBLICKEY]
  12. --privatekey value, --privkey value Private Key for WireGuard Interface. [$NETCLIENT_PRIVATEKEY]
  13. --port value Port for WireGuard Interface. [$NETCLIENT_PORT]
  14. --keepalive value Default PersistentKeepAlive for Peers in WireGuard Interface. (default: 0) [$NETCLIENT_KEEPALIVE]
  15. --operatingsystem value, --os value Identifiable name for machine within Netmaker network. [$NETCLIENT_OS]
  16. --name value Identifiable name for machine within Netmaker network. [$NETCLIENT_NAME]
  17. --localaddress value Local address for machine. Can be used in place of Endpoint for machines on the same LAN. [$NETCLIENT_LOCALADDRESS]
  18. --address value, -a value WireGuard address for machine within Netmaker network. [$NETCLIENT_ADDRESS]
  19. --addressIPv6 value, --a6 value WireGuard address for machine within Netmaker network. [$NETCLIENT_ADDRESSIPV6]
  20. --interface value, -i value WireGuard local network interface name. [$NETCLIENT_INTERFACE]
  21. --apiserver value Address + GRPC Port (e.g. 1.2.3.4:50051) of Netmaker server. [$NETCLIENT_API_SERVER]
  22. --grpcserver value Address + API Port (e.g. 1.2.3.4:8081) of Netmaker server. [$NETCLIENT_GRPC_SERVER]
  23. --key value, -k value Access Key for signing up machine with Netmaker server during initial 'add'. [$NETCLIENT_ACCESSKEY]
  24. --token value, -t value Access Token for signing up machine with Netmaker server during initial 'add'. [$NETCLIENT_ACCESSTOKEN]
  25. --localrange value Local Range if network is local, for instance 192.168.1.0/24. [$NETCLIENT_LOCALRANGE]
  26. --dns value Sets private dns if 'on'. Ignores if 'off'. Will retrieve from network if unset. (default: "on") [$NETCLIENT_DNS]
  27. --islocal value Sets endpoint to local address if 'yes'. Ignores if 'no'. Will retrieve from network if unset. [$NETCLIENT_IS_LOCAL]
  28. --isdualstack value Sets ipv6 address if 'yes'. Ignores if 'no'. Will retrieve from network if unset. [$NETCLIENT_IS_DUALSTACK]
  29. --udpholepunch value Turns on udp holepunching if 'yes'. Ignores if 'no'. Will retrieve from network if unset. [$NETCLIENT_UDP_HOLEPUNCH]
  30. --ipforwarding value Sets ip forwarding on if 'on'. Ignores if 'off'. On by default. (default: "on") [$NETCLIENT_IPFORWARDING]
  31. --postup value Sets PostUp command for WireGuard. [$NETCLIENT_POSTUP]
  32. --postdown value Sets PostDown command for WireGuard. [$NETCLIENT_POSTDOWN]
  33. --daemon value Installs daemon if 'on'. Ignores if 'off'. On by default. (default: "on") [$NETCLIENT_DAEMON]
  34. --roaming value Checks for IP changes if 'on'. Ignores if 'off'. On by default. (default: "on") [$NETCLIENT_ROAMING]
  35. --help, -h show help (default: false)