Skip to content

feat: advertise kyber as Tailscale exit node - #1431

Merged
shunkakinoki merged 1 commit into
mainfrom
feat/kyber-exit-node
Apr 11, 2026
Merged

feat: advertise kyber as Tailscale exit node#1431
shunkakinoki merged 1 commit into
mainfrom
feat/kyber-exit-node

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Apr 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds --advertise-exit-node to kyber's Tailscale config so galactica and other devices can route all traffic through kyber

Setup after merge

  1. Deploy to kyber
  2. Approve exit node in Tailscale admin console
  3. Enable IP forwarding on kyber: sudo sysctl -w net.ipv4.ip_forward=1
  4. On client devices: tailscale set --exit-node=kyber

Summary by cubic

Adds --advertise-exit-node to kyber’s tailscale config so galactica and other devices can route all traffic through kyber.

  • Migration
    • Deploy to kyber.
    • Approve the exit node in the Tailscale admin console: https://login.tailscale.com/admin/machines
    • Enable IP forwarding on kyber: sudo sysctl -w net.ipv4.ip_forward=1
    • On clients: tailscale set --exit-node=kyber

Written for commit 1db495a. Summary will update on new commits.

Copilot AI review requested due to automatic review settings April 11, 2026 15:02
@mesa-dot-dev

mesa-dot-dev Bot commented Apr 11, 2026

Copy link
Copy Markdown

You do not have enough credits to review this pull request. Please purchase more credits to continue.

@shunkakinoki
shunkakinoki merged commit 5819b8f into main Apr 11, 2026
25 of 30 checks passed
@coderabbitai

coderabbitai Bot commented Apr 11, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 35cb2b1e-c5e8-4cb8-821c-a9f97910171a

📥 Commits

Reviewing files that changed from the base of the PR and between af11b66 and 1db495a.

📒 Files selected for processing (1)
  • named-hosts/kyber/default.nix

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.


📝 Walkthrough

Summary by CodeRabbit

  • Configuration
    • Updated Tailscale settings to advertise exit node capability on service startup, enabling this device to serve as a network exit node alongside existing configuration options.

Walkthrough

A single-line configuration addition to a Nix Home Manager Tailscale setup, appending the --advertise-exit-node flag to the service's startup arguments alongside existing flags for reset and DNS handling.

Changes

Cohort / File(s) Summary
Tailscale Configuration
named-hosts/kyber/default.nix
Added --advertise-exit-node flag to Tailscale extraUpArgs list, enabling exit node advertisement on service startup.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A flag so small, yet mighty true,
Exit node whispers through the dew,
Kyber hops with routes to share,
Tailscale paths float through the air! 🌐

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/kyber-exit-node

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@shunkakinoki
shunkakinoki deleted the feat/kyber-exit-node branch April 11, 2026 15:03
@mesa-dot-dev

mesa-dot-dev Bot commented Apr 11, 2026

Copy link
Copy Markdown

Mesa Description

TL;DR

Adds --advertise-exit-node to kyber's Tailscale config so galactica and other devices can route all traffic through kyber

What changed?

File summaries not provided.

Description generated by Mesa. Update settings

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds the --advertise-exit-node flag to the Tailscale configuration for the kyber host. The reviewer suggests using the native advertiseExitNode option instead of manual flags for better maintainability. Additionally, it was noted that the configuration may not be applied automatically as the tailscale-up service is currently disabled for this host.

Comment on lines 157 to 161
extraUpArgs = [
"--reset"
"--accept-dns=false"
"--advertise-exit-node"
];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The tailscale module already provides a dedicated advertiseExitNode boolean option. It is better to use this option instead of passing the flag manually through extraUpArgs for better maintainability.

Functionality Warning: The tailscale-up service (which applies these arguments) is only enabled in the module when serviceConfig is non-empty. Since serviceConfig is currently omitted for kyber, these settings will not be applied automatically upon deployment. You will likely need to run tailscale up manually or update the configuration to enable the automated service.

          advertiseExitNode = true;
          extraUpArgs = [
            "--reset"
            "--accept-dns=false"
          ];

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to configure the kyber host’s Tailscale setup to advertise itself as an exit node so other devices (e.g., galactica) can route all traffic through it.

Changes:

  • Add --advertise-exit-node to kyber’s Tailscale extraUpArgs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 157 to 161
extraUpArgs = [
"--reset"
"--accept-dns=false"
"--advertise-exit-node"
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants