Skip to content

macOS runner exit node support #187

@seokgyo

Description

@seokgyo

Hi,

I’m trying to use the tailscale/github-action in a GitHub Actions workflow running on a macOS runner (macos-15) with an exit node.

While the same workflow works fine on Linux runners, it doesn’t seem to work properly on macOS.

My questions are:

  • Is exit node mode currently supported when using this action on macOS runners?
  • If it is supported, are there any known limitations or required flags to make it work?
name: Use Tailscale Exit Node
on: push
jobs:
  run-with-exit-node:
    runs-on: macos-15
    steps:
      - name: before
        run: |
          echo "Public IP:" && curl -s https://ifconfig.me
      - name: Connect to Tailscale
        timeout-minutes: 3
        uses: tailscale/github-action@v3
        with:
          oauth-client-id: ${{ secrets.TAILSCALE_OAUTH_CLIENT_ID }}
          oauth-secret: ${{ secrets.TAILSCALE_OAUTH_SECRET }}
          version: ${{ vars.TAILSCALE_VERSION }}
          tags: ${{ vars.TAILSCALE_TAGS }}
          use-cache: true
      - name: Wait & list nodes
        run: |
          sleep 3
          sudo -E tailscale status
      - name: Set exit node by name
        run: |
          sudo -E tailscale set --exit-node="ci_exit_node" --exit-node-allow-lan-access=true
      - name: after
        run: |
          echo "Public IP:" && curl -s https://ifconfig.me

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions