Repository navigation
Description
Request
Investigate whether Dots can provide a usable Tailscale exit node under the platform's outbound network restrictions, and define the supported protocols and operating conditions before planning an implementation.
This is a research task, not a committed release feature. The existing live test verified advertisement and approval, but did not demonstrate working internet forwarding.
Context
The deployed installation uses Tailscale 1.102.4 in userspace networking mode without /dev/net/tun. During the 2026-10-15 live test, exit-route advertisement, admin approval, and client selection succeeded. HTTPS, public DNS/UDP, and ICMP probes through Dots failed; normal client HTTPS recovered after restoring the original route.
Dots could reach the tested HTTPS endpoint through the platform HTTP proxy but not through direct egress. Provider logs recorded netstack outbound connection failures and a UDP timeout; ping was also absent. These observations apply to the tested environment. TUN absence or disabled kernel forwarding alone does not establish that userspace exit nodes are unsupported.
The existing daemon transport shim carries Tailscale control/DERP traffic through the platform proxy. It does not automatically proxy arbitrary exit traffic. The proposed application outbound proxy in #18 is a separate feature and does not establish exit-node support.
Requested changes
- Identify the available direct and proxy-mediated egress paths and their restrictions, separating observed behavior from unverified platform assumptions.
- Evaluate whether a platform-compatible forwarding design is feasible without treating successful registration, tailnet ping, or SSH as internet-forwarding success.
- Assess TCP/HTTPS, DNS/UDP, ICMP, and IPv6 separately; record unsupported or untested behavior explicitly. Installing
pingalone must not be presented as fixing TCP/UDP egress. - Describe required privileges, dependencies, routing/approval changes, interruption risks, and rollback for any viable candidate. Preserve node state and SSH identity.
- Start with isolated experiments; use explicitly scoped, bounded live checks for any candidate and restore client routing, route advertisements, and admin approval afterward.
- Keep public evidence free of credentials and private infrastructure identifiers. Summarize the feasibility decision and user-facing limitations in English and Korean before presenting a candidate as supported.
Acceptance criteria
- Record an end-to-end baseline that separates advertisement/approval/client selection from actual HTTPS, DNS/UDP, and ICMP forwarding.
- Record provider-side errors and confirm the original client/provider/approval settings were restored after the baseline test.
- Document the relevant egress constraints and explain the boundary between daemon transport, application proxying, and exit-node forwarding.
- Produce a feasibility decision: viable, limited to specified protocols/conditions, or blocked in the tested environment, with supporting evidence.
- For any viable design, record isolated tests and authorized end-to-end validation, including negative cases, exact deployed version/configuration, cleanup, and rollback. Otherwise document the blocking constraints and unrun tests.
- Document the supported scope and remaining limitations without claiming general-purpose VPN/exit-node support from partial success.
Scope
Research into Dots acting as an exit-node provider only. This milestone does not commit the feature to a release or authorize unrelated platform changes. Using an existing exit node from Dots is a separate use case.
Exit-node implementation remains outside v0.3.0. Keep the CLI/doctor work in #17, the opt-in application proxy in #18, and the private HTTP API recipe in #19 independent of this investigation.
Existing validation
Preserved live test evidence — 2026-10-15 (KST)
Live test result — 2026-10-15 (KST)
Advertising and approval work, but the tested Dots installation did not provide working internet exit traffic. Selecting Dots as an exit node succeeded; HTTPS, public DNS/UDP, and ICMP probes through it failed. This is a result for the existing deployed environment, not a claim that Tailscale userspace exit nodes are unsupported in general.
Environment and scope
- Existing Dots Tailscale 1.102.4, userspace networking (
TUN: false), unprivileged user, no/dev/net/tun. - Kernel IPv4/IPv6 forwarding is disabled. Userspace exit nodes use netstack forwarding, so that alone does not establish the cause of failure.
- No setup/shim source deployment, daemon replacement, authentication reset, ACL change, or sysctl change was made.
- Client: the existing macOS Tailscale installation. It was briefly switched with a detached 25-second rollback watchdog and restored in a
finallyblock. Dots advertisement had its own 10-minute fallback watchdog.
Results
| Test | Result |
|---|---|
Dots set --advertise-exit-node=true |
Success; advertised 0.0.0.0/0 and ::/0 |
| Admin approval | Success; client saw ExitNodeOption: true and both default routes |
| Mac selects Dots | Success; ExitNodeStatus.Online: true; public destination route used the Tailscale interface |
| Client baseline HTTPS without HTTP proxy | Success |
Client baseline direct DNS/UDP to 1.1.1.1:53 |
Success; matching response and two answers |
| Client HTTPS through Dots | Failed: curl exit 28, connection timeout (4 seconds) |
| Client direct DNS/UDP through Dots | Failed: timeout (3 seconds) |
| Client ICMP through Dots | Failed: no response |
| Client HTTPS after restoring original route | Success; same egress IP as baseline |
| Dots direct HTTPS without proxy | Failed: curl exit 7, could not connect |
| Dots HTTPS through its existing HTTP proxy | Success |
| Dots direct public DNS/UDP | Failed: timeout |
The HTTPS client probe resolved its destination before switching and used curl --resolve, so its failure was not merely an exit DNS lookup failure. HTTPS probes explicitly disabled HTTP proxies, preventing accidental proxy bypass of the exit-node path.
Provider-side evidence
The Dots tailscaled log recorded netstack outbound TCP connection failures (connect: connection refused), an external DNS/UDP session timeout, and:
exec ping ... failed: exec: "ping": executable file not found in $PATH
netstack: could not connect to local backend server at <public-destination>:443: dial tcp ...: connect: connection refused
netstack: UDP session ... to 1.1.1.1:53 timed out
These logs show that forwarded traffic reached the provider's netstack; advertisement/approval alone was not the only test. The missing ping executable is an additional limitation for userspace ICMP forwarding.
Interpretation
The current shim makes Tailscale's control/DERP transport compatible with the platform HTTP proxy. It does not automatically send arbitrary exit traffic through that proxy: userspace TCP/UDP forwarding opens outbound host sockets. The observed direct egress restrictions therefore remain relevant even though tailnet SSH works.
Official references:
Cleanup confirmed
- Mac exit-node selection restored to none; original LAN-access and advertisement preferences preserved; normal HTTPS restored.
- Dots
AdvertiseRoutesrestored to its original empty value; backend remainedRunningand tailnet SSH remained available. - Temporary admin exit-node approval removed.
- Detached rollback watchdogs and temporary provider files removed.
- No credentials or tailnet/internal addresses are included in this public evidence.
Follow-up scope
Do not advertise the current package as a working general-purpose Dots exit node based on registration success. Further work needs a platform-compatible egress design and separate TCP/UDP/ICMP testing; merely enabling kernel forwarding or installing ping would not fix the demonstrated HTTPS and UDP failures.
Activity
[-]Investigate Dots as a Tailscale exit node in userspace mode[/-][+]Dots exit node: advertising succeeds, internet forwarding fails in live tests[/+][-]Dots exit node: advertising succeeds, internet forwarding fails in live tests[/-][+]research: investigate Dots exit-node forwarding under platform egress restrictions[/+]abruption commentedon Oct 17, 2026
Priority update — 2026-10-18
Priority: low, milestone Research. The existing live evidence already distinguishes successful advertisement/approval from failed public internet forwarding. Further provider work requires an egress design and protocol-specific evidence, so it follows the near-term lifecycle/recovery (#20) and outbound application-proxy (#18) investigations.
The new observation that daemon-side dialing can resolve and reach a permitted tailnet peer does not overturn the public egress failures in this issue. Keep the feasibility investigation open; no general-purpose exit-node support is claimed.
abruption commentedon Oct 22, 2026
Additional research and bounded live probes — 2026-10-22
Preliminary result: an explicitly configured HTTPS/DNS proxy is plausible, but transparent general-purpose exit-node forwarding remains unproven and encounters a demonstrated TLS trust boundary. No exit routes, node registration, daemon configuration, ACLs, or client routing were changed during this round.
Current environment and measurements
The existing provider remains Tailscale 1.102.4, userspace mode, UID 1000, without /dev/net/tun. Tests ran through strict SSH in the existing provider environment; these are provider egress probes, not an exit-node end-to-end test or a direct-Bash namespace test.
No certificate verification was disabled. The public CA bundle was temporarily copied solely for the trust comparison and removed afterward. No private key or authentication state was copied. The successful DoH response proves only this DNS-over-HTTPS query; it does not prove general UDP, QUIC, DNS interception, or exit routing. A single permitted HTTPS destination does not establish arbitrary host/port support.
Alternatives evaluated
Feasibility and next gate
한국어 요약
IP 주소를 대상으로 플랫폼 프록시에 CONNECT를 보내고 원래 도메인으로 TLS를 연결하는 실험은 성공했습니다. DNS-over-HTTPS도 실제 DNS 응답까지 확인했습니다. 다만 플랫폼이 TLS 인증서를 중간에서 발급하며, Mac에서 정상 접속되는 공개 CA 묶음을 적용하면 인증서 검증이 실패했습니다. 따라서 일반 기기가 그대로 사용할 수 있는 exit node로 보기는 어렵습니다. 신뢰 조건을 명확히 한 HTTPS/DNS 한정 프록시와 별도 tsnet 연구 노드를 후속 후보로 남깁니다. 기존 연결·노드·라우팅은 유지했습니다.
Sources
The milestone remains v0.6.0 research; these probes do not establish production support.
abruption commentedon Oct 22, 2026
Narrow tsnet routed trial completed — 2026-10-22
A real client → Tailscale → separate Dots research node → platform CONNECT proxy → HTTPS destination flow succeeded, provided the client explicitly trusted the platform CA. Public CA trust alone failed as predicted. This is a narrow routed TCP/443 proof, not general-purpose exit-node support.
Setup and controls
/32, exact destination TCP/443 fallback, four concurrent flows maximum, 20-second flow deadlines and 15-minute maximum lifetime. No default route advertised/selected./32, and OS routing selected the Tailscale interface.Observed results
Requests ran at 09:58:41–09:58:42 UTC. The research process stopped at 09:59:20 UTC and reported successful route withdrawal. Route approval was revoked, the node removed, and research state/runtime deleted. Fresh strict SSH and Tailscale ping to the production installation remained successful.
Interpretation
Conditionally viable for explicit-trust, bounded HTTPS forwarding. This does not establish transparent origin TLS, certificate-pinned applications, arbitrary TCP/ports, HTTP/2, DNS through this node, UDP/QUIC, IPv6, ICMP or long-running operation. UDP has no listener and is dropped by tsnet; ICMP has a separate userspace path and was not tested. The live experiment did not stress-test capacity or expiry.
The next product decision is whether an opt-in application proxy is useful enough to justify its explicit trust setup, or whether a custom routed forwarder is worth maintaining. Broad exit routes or automatic trust-root installation are not warranted by this evidence. A remote relay remains a different architecture with a different final egress location.
한국어: 실제 Mac의 단일 목적지 Tailscale 경로를 통해 Dots를 거쳐 HTTPS 본문을 받았습니다. 다만 시험 명령에서 플랫폼 CA를 신뢰해야 했으며, 일반 공개 CA만으로는 실패했습니다. 제한된 HTTPS 전달은 가능한 것으로 진전됐지만, 일반 exit node 지원으로 확대 해석하지 않습니다. 시험 설정은 모두 정리했습니다.
Reproducible source, helper tests and sanitized evidence are retained in the isolated local
research/exit16-connectbranch; no production deployment, release or PR was made. Helper tests passed for destination restrictions, CONNECT rejection/header size and tunnel-byte preservation. Executable SHA256:0d92ac41686b68c5ba88c9692a7e6081484af1b8d1dffbbf2dae4d314fe1913d.abruption commentedon Oct 26, 2026
v0.6.0은 #49/#51 범위로 준비합니다. exit-node 실현 가능성 조사는 Research 마일스톤으로 분리합니다. 일반 목적 exit-node 지원이나 출시 일정을 약속하지 않으며 기존 실패/부분 검증 기록은 유지합니다.