Skip to content

Plugin fetch: allow CGNAT addresses (Tailscale) for listed private hosts? #688

Done

Description

@gorlix

Follow-up to item 2 of #656.

The upcoming PLUGIN_FETCH_PRIVATE_HOSTS allows RFC 1918 and fc00::/7 addresses only. 100.64.0.0/10 (CGNAT) stays blocked, even for a listed host, because some cloud metadata endpoints live there. Tailscale uses that range, so a self-hosted GitLab reachable only over Tailscale stays refused.

If people need this, it could be a separate, explicit opt-in. Nobody has asked for it yet, so this issue is here to record the limit and collect interest.

Activity

  1. pullfrog commented on Nov 2, 2026

    @pullfrog
    Contributor
  2. added
    good first issue
    on Nov 18, 2026
  3. jeeva-m-21 commented on Dec 3, 2026

    @jeeva-m-21
    Contributor

    hey, i'd like to pick this up. thinking a separate opt-in like PLUGIN_FETCH_ALLOW_CGNAT=true (off by default), and even when it's on, 100.64.0.0/10 only gets allowed for hosts already listed in PLUGIN_FETCH_PRIVATE_HOSTS, so nothing opens up by accident. plus tests for blocked by default / allowed when listed + opted in / still blocked when not listed, and a docs line next to PLUGIN_FETCH_PRIVATE_HOSTS. does that shape sound ok or would you rather keep it as one setting?

  4. pikann commented on Dec 4, 2026

    @pikann
    Contributor

    Hi @jeeva-m-21 ,
    Adding PLUGIN_FETCH_ALLOW_CGNAT sounds good. Feel free to open a PR for it! Thanks so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions