Created
February 14, 2022 17:18
-
-
Save afeiszli/8ec11f7006e2de1c5c94ae8baf572713 to your computer and use it in GitHub Desktop.
netclient join example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alex@zorg:~/netmaker/netclient$ sudo ./netclient join --help | |
NAME: | |
netclient join - Join a Netmaker network. | |
USAGE: | |
netclient join [command options] [arguments...] | |
OPTIONS: | |
--network value, -n value Network to perform specified action against. (default: "all") [$NETCLIENT_NETWORK] | |
--password value, -p value Password for authenticating with netmaker. [$NETCLIENT_PASSWORD] | |
--endpoint value, -e value Reachable (usually public) address for WireGuard (not the private WG address). [$NETCLIENT_ENDPOINT] | |
--macaddress value, -m value Mac Address for this machine. Used as a unique identifier within Netmaker network. [$NETCLIENT_MACADDRESS] | |
--publickey value, --pubkey value Public Key for WireGuard Interface. [$NETCLIENT_PUBLICKEY] | |
--privatekey value, --privkey value Private Key for WireGuard Interface. [$NETCLIENT_PRIVATEKEY] | |
--port value Port for WireGuard Interface. [$NETCLIENT_PORT] | |
--keepalive value Default PersistentKeepAlive for Peers in WireGuard Interface. (default: 0) [$NETCLIENT_KEEPALIVE] | |
--operatingsystem value, --os value Identifiable name for machine within Netmaker network. [$NETCLIENT_OS] | |
--name value Identifiable name for machine within Netmaker network. (default: "zorg") [$NETCLIENT_NAME] | |
--localaddress value Local address for machine. Can be used in place of Endpoint for machines on the same LAN. [$NETCLIENT_LOCALADDRESS] | |
--isstatic value, --st value Indicates if client is static by default (will not change addresses automatically). [$NETCLIENT_IS_STATIC] | |
--address value, -a value WireGuard address for machine within Netmaker network. [$NETCLIENT_ADDRESS] | |
--addressIPv6 value, --a6 value WireGuard address for machine within Netmaker network. [$NETCLIENT_ADDRESSIPV6] | |
--interface value, -i value WireGuard local network interface name. [$NETCLIENT_INTERFACE] | |
--apiserver value Address + GRPC Port (e.g. 1.2.3.4:50051) of Netmaker server. [$NETCLIENT_API_SERVER] | |
--grpcserver value Address + API Port (e.g. 1.2.3.4:8081) of Netmaker server. [$NETCLIENT_GRPC_SERVER] | |
--grpcssl value Tells clients to use SSL to connect to GRPC if 'on'. Disable if 'off'. Off by default. [$NETCLIENT_GRPCSSL] | |
--key value, -k value Access Key for signing up machine with Netmaker server during initial 'add'. [$NETCLIENT_ACCESSKEY] | |
--token value, -t value Access Token for signing up machine with Netmaker server during initial 'add'. [$NETCLIENT_ACCESSTOKEN] | |
--localrange value Local Range if network is local, for instance 192.168.1.0/24. [$NETCLIENT_LOCALRANGE] | |
--dnson value Sets private dns if 'yes'. Ignores if 'no'. Will retrieve from network if unset. (default: "yes") [$NETCLIENT_DNS] | |
--islocal value Sets endpoint to local address if 'yes'. Ignores if 'no'. Will retrieve from network if unset. [$NETCLIENT_IS_LOCAL] | |
--isdualstack value Sets ipv6 address if 'yes'. Ignores if 'no'. Will retrieve from network if unset. [$NETCLIENT_IS_DUALSTACK] | |
--udpholepunch value Turns on udp holepunching if 'yes'. Ignores if 'no'. Will retrieve from network if unset. [$NETCLIENT_UDP_HOLEPUNCH] | |
--ipforwarding value Sets ip forwarding on if 'on'. Ignores if 'off'. On by default. (default: "on") [$NETCLIENT_IPFORWARDING] | |
--postup value Sets PostUp command for WireGuard. [$NETCLIENT_POSTUP] | |
--postdown value Sets PostDown command for WireGuard. [$NETCLIENT_POSTDOWN] | |
--daemon value Installs daemon if 'on'. Ignores if 'off'. On by default. (default: "on") [$NETCLIENT_DAEMON] | |
--roaming value Checks for IP changes if 'yes'. Ignores if 'no'. Yes by default. (default: "yes") [$NETCLIENT_ROAMING] | |
--help, -h show help (default: false) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment