setf.StringVar(&setArgs.hostname,"hostname","","hostname to use instead of the one provided by the OS")
setf.StringVar(&setArgs.hostname,"hostname","","hostname to use instead of the one provided by the OS")
setf.StringVar(&setArgs.advertiseRoutes,"advertise-routes","","routes to advertise to other nodes (comma-separated, e.g. \"10.0.0.0/8,192.168.0.0/24\") or empty string to not advertise routes")
setf.StringVar(&setArgs.advertiseRoutes,"advertise-routes","","routes to advertise to other nodes (comma-separated, e.g. \"10.0.0.0/8,192.168.0.0/24\") or empty string to not advertise routes")
setf.BoolVar(&setArgs.advertiseDefaultRoute,"advertise-exit-node",false,"offer to be an exit node for internet traffic for the tailnet")
setf.BoolVar(&setArgs.advertiseDefaultRoute,"advertise-exit-node",false,"offer to be an exit node for internet traffic for the tailnet")
setf.BoolVar(&setArgs.advertiseConnector,"advertise-connector",false,"offer to be an exit node for internet traffic for the tailnet")
setf.BoolVar(&setArgs.updateCheck,"update-check",true,"notify about available Tailscale updates")
setf.BoolVar(&setArgs.updateCheck,"update-check",true,"notify about available Tailscale updates")
setf.BoolVar(&setArgs.updateApply,"auto-update",false,"automatically update to the latest available version")
setf.BoolVar(&setArgs.updateApply,"auto-update",false,"automatically update to the latest available version")
setf.BoolVar(&setArgs.postureChecking,"posture-checking",false,"HIDDEN: allow management plane to gather device posture information")
setf.BoolVar(&setArgs.postureChecking,"posture-checking",false,"HIDDEN: allow management plane to gather device posture information")
upf.StringVar(&upArgs.advertiseTags,"advertise-tags","","comma-separated ACL tags to request; each must start with \"tag:\" (e.g. \"tag:eng,tag:montreal,tag:ssh\")")
upf.StringVar(&upArgs.advertiseTags,"advertise-tags","","comma-separated ACL tags to request; each must start with \"tag:\" (e.g. \"tag:eng,tag:montreal,tag:ssh\")")
upf.StringVar(&upArgs.hostname,"hostname","","hostname to use instead of the one provided by the OS")
upf.StringVar(&upArgs.hostname,"hostname","","hostname to use instead of the one provided by the OS")
upf.StringVar(&upArgs.advertiseRoutes,"advertise-routes","","routes to advertise to other nodes (comma-separated, e.g. \"10.0.0.0/8,192.168.0.0/24\") or empty string to not advertise routes")
upf.StringVar(&upArgs.advertiseRoutes,"advertise-routes","","routes to advertise to other nodes (comma-separated, e.g. \"10.0.0.0/8,192.168.0.0/24\") or empty string to not advertise routes")
upf.BoolVar(&upArgs.advertiseConnector,"advertise-connector",false,"advertise this node as an app connector")
upf.BoolVar(&upArgs.advertiseDefaultRoute,"advertise-exit-node",false,"offer to be an exit node for internet traffic for the tailnet")
upf.BoolVar(&upArgs.advertiseDefaultRoute,"advertise-exit-node",false,"offer to be an exit node for internet traffic for the tailnet")
ifsafesocket.GOOSUsesPeerCreds(goos){
ifsafesocket.GOOSUsesPeerCreds(goos){
@ -165,6 +166,7 @@ type upArgsT struct {
advertiseRoutesstring
advertiseRoutesstring
advertiseDefaultRoutebool
advertiseDefaultRoutebool
advertiseTagsstring
advertiseTagsstring
advertiseConnectorbool
snatbool
snatbool
netfilterModestring
netfilterModestring
authKeyOrFilestring// "secret" or "file:/path/to/secret"
authKeyOrFilestring// "secret" or "file:/path/to/secret"