|
|
|
|
@ -35,7 +35,7 @@ const globalStateKey = "_daemon" |
|
|
|
|
func main() { |
|
|
|
|
fake := getopt.BoolLong("fake", 0, "fake tunnel+routing instead of tuntap") |
|
|
|
|
debug := getopt.StringLong("debug", 0, "", "Address of debug server") |
|
|
|
|
tunname := getopt.StringLong("tun", 0, "ts0", "tunnel interface name") |
|
|
|
|
tunname := getopt.StringLong("tun", 0, "tailscale0", "tunnel interface name") |
|
|
|
|
listenport := getopt.Uint16Long("port", 'p', magicsock.DefaultPort, "WireGuard port (0=autoselect)") |
|
|
|
|
statepath := getopt.StringLong("state", 0, "", "Path of state file") |
|
|
|
|
socketpath := getopt.StringLong("socket", 's', "/run/tailscale/tailscaled.sock", "Path of the service unix socket") |
|
|
|
|
|