spotsnel / cockpit-tailscale

[WIP] Cockpit application to manage Tailscale
GNU Lesser General Public License v2.1
72 stars 5 forks source link

Show serve/funnel information #20

Open gbraad opened 1 year ago

gbraad commented 1 year ago
$ tailscale serve https / ~/Public
{
  "TCP": {
    "443": {
      "HTTPS": true
    }
  },
  "Web": {      // serve https / ~/Public
    "mobile-t460p.phoenix-wyvern.ts.net:443": {
      "Handlers": {
        "/": {
          "Path": "/home/gbraad/Public"
        }
      }
    }
  }
}
https://mobile-t460p.phoenix-wyvern.ts.net (tailnet only)
|-- / path  /home/gbraad/Public

$ tailscale funnel 443 on
{
  "TCP": {
    "443": {
      "HTTPS": true
    }
  },
  "Web": {
    "mobile-t460p.phoenix-wyvern.ts.net:443": {
      "Handlers": {
        "/": {
          "Path": "/home/gbraad/Public"
        }
      }
    }
  },
  "AllowFunnel": {      // tailscale funnel 443 on
    "mobile-t460p.phoenix-wyvern.ts.net:443": true
  }
}
# Funnel on:
#     - https://mobile-t460p.phoenix-wyvern.ts.net

https://mobile-t460p.phoenix-wyvern.ts.net (Funnel on)
|-- / path  /home/gbraad/Public