sklp gateway redirect

sklp gateway redirect

Description

Manage the host :80->:9080 / :443->:9443 NAT redirect (front door for the rootless gateway)

Subcommands

Technical details

Technical details

Raw command JSON

{
  "path": [
    "sklp",
    "gateway",
    "redirect"
  ],
  "slug": "gateway-redirect",
  "name": "redirect",
  "short": "Manage the host :80->:9080 / :443->:9443 NAT redirect (front door for the rootless gateway)",
  "synopsis": "sklp gateway redirect",
  "subcommands": [
    {
      "path": [
        "sklp",
        "gateway",
        "redirect",
        "down"
      ],
      "slug": "gateway-redirect-down",
      "name": "down",
      "short": "Remove the front-door redirect",
      "synopsis": "sklp gateway redirect down [flags]",
      "flags": [
        {
          "name": "persist",
          "usage": "also write the rules under /etc/nftables.d so they survive a reboot",
          "type": "bool"
        }
      ]
    },
    {
      "path": [
        "sklp",
        "gateway",
        "redirect",
        "status"
      ],
      "slug": "gateway-redirect-status",
      "name": "status",
      "short": "Show whether the front-door redirect is installed",
      "synopsis": "sklp gateway redirect status"
    },
    {
      "path": [
        "sklp",
        "gateway",
        "redirect",
        "up"
      ],
      "slug": "gateway-redirect-up",
      "name": "up",
      "short": "Install the front-door redirect (needs root: run via sudo)",
      "synopsis": "sklp gateway redirect up [flags]",
      "flags": [
        {
          "name": "persist",
          "usage": "also write the rules under /etc/nftables.d so they survive a reboot",
          "type": "bool"
        }
      ]
    }
  ]
}

See also