frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Tailscale 4via6 – Connect Edge Deployments at Scale

https://tailscale.com/blog/4via6-connectivity-to-edge-devices
80•tiernano•7h ago

Comments

Arnt•7h ago
Reminds me of the network a friend described. After a couple of mergers and sales, they had so much NAT that one particular cron job tab used an internal server-to-server connection that passed through five NAT instances.

And this tailscale product seems to say "this product makes that kind of situation less awful" which I'm sure is somehow good but I can't help thinking that "less awful" is going to mean "still awful" for most deployments.

Sesse__•5h ago
Why do they feel the need to call NAT64 by some new weird “4via6” name?
SparkyMcUnicorn•5h ago
Maybe because it's not exactly NAT64, even though it has the same goal?
danielbln•5h ago
As far as I understand it, both involve translating between IPv6 and IPv4, but NAT64 is a broad standard for general IPv6-to-IPv4 internet access, whereas Tailscale's 4via6 is more specific feature to solve a niche problem of overlapping private IP ranges within a Tailscale VPN environment using some proprietary addressing scheme. But it's been a while since I was deep in network land.
ko_pivot•5h ago
Most people working outside the network layer are not familiar with the basics of IPv6 and how it interops with v4 systems. In fact, I would bet that many AWS admins are not familiar with dualstack VPC configurations, for example. This product name communicates clearly to those users what the value prop is.
kingforaday•5h ago
Don't forget 6to4 and Teredo. Different names for different things.
bradfitz•5h ago
I'm largely responsible for this, so I'll try to answer.

Technically it's not NAT64 today. Different prefix for one, but it's also not translated at the IP layer (yet). For TCP, we terminate the TCP in tailscaled and make a new TCP connection out and switch them together, so packets are not 1:1 end-to-end.

We also had grander plans for the 32 "site-id" bits in the middle there. Instead of just a 8-bit (now 16-bit) "site ID" number in there, you could actually put the 32-bit CGNAT IPv4 address of any peer of yours, and then access its IPv4 space relative to that node, without any configuration.

Say you have an Apple TV plugged in at home.

Then you're at a coffee shop and want to access something on your LAN and don't have a subnet router set up.

You should be able to `ssh 10-0-0-5-via-appletv.foo-bar.ts.net` and have MagicDNS map that "appletv" as the "Site ID" and put its 32-bit CGNAT address in, and then parse out the 10.0.0.5 as the lower 32-bits, and then have Tailscale route your packets via your home Apple TV node.

All subject to ACLs, of course, but we could make it a default or easy-to-enable recommended default that you could do such things as an admin for your self-owned devices.

So why it's called "4via6"? That was just kinda a temporary internal name that ended up leaking out to docs/KB and now a blog post, apparently. :)

vessenes•3h ago
Wow people don't like this in the comments. I like this! This is cool. I think the use case of deploying robots and being able to rely on their IPs for various uses is smart, and interesting. Looking forward to seeing how this evolves.
throwaway314155•1h ago
> Wow people don't like this in the comments

Not a single purely negative comment here as of the time i'm writing this. Maybe a criticism or two, but no one has a "dislike".

vessenes•52m ago
well, at least there was a lot of bikeshedding.
lostmsu•3h ago
Or just use Yggdrasil with a firewall.
yjftsjthsd-h•3h ago
Isn't Yggdrasil IPv6-only? I guess you could maybe do something similar with Yggdrasil+NAT64?
lostmsu•1h ago
This is not a problem if you are running services that support IPv6.
aquariusDue•2h ago
I've been hearing about Yggdrasil for some time now, I'd like to dive into it a bit more but I don't really know where to start for practical stuff. Do you happen to have some personal success story with it, or could you please point me to some blog posts maybe?

Thanks and I apologize in advance for imposing on you.

lostmsu•1h ago
No problem, I love the tech.

My journey was: Wireguard (dropped because it is pain in the ass to configure and poor Windows support) -> Tailscale (dropped because it had RCEs at the time) -> Nebula (needs a separate service that issues host certificates, or manual clunky process) -> Yggdrasil. This was for personal stuff, but now I am also using it for my p2p GPU cloud startup (see https://borg.games/setup).

In comparison to other options I found Yggdrasil to be straightforward to setup:

1. Get it

2. Edit yggdrasil.conf to add public peers you want to connect to. You can get them from https://publicpeers.neilalexander.dev/

3. Repeat on all machines (Android is supported, unsure about iOS)

Now they have access to each other and everyone else in Yggdrasil by their _permanent_ Yggdrasil IPv6 address (derived from PrivateKey in yggdrasil.conf).

OPTIONAL quality-of-life stuff:

4. add Listen entries to yggdrasil.conf and a corresponding port forward on your home router then use it as a peer for your out-of-home machines to avoid extra hop to public peers

5. Create a bunch of DNS AAAA (IPv6) at your favorite DNS provider to give your machines names

Extra bonus: they recently added userspace stack support, so you can embed Yggdrasil directly into your app, and use it as a SOCKS proxy: https://github.com/yggdrasil-network/yggstack

jetsnoc•3h ago
We chose Tailscale as our mesh zero-trust platform primarily for its 4via6 subnet routing. Many of our interfacing networks reuse CIDR ranges, and we had no interest in maintaining a custom WireGuard implementation to handle subnet overlaps. The hidden operational cost of bespoke networking solutions is never trivial. Tailscale’s combination of 4via6, fine-grained ACLs, lightweight agents, and a customer-friendly licensing model made it an easy decision for us—especially given their flexibility around node licensing, which erred in favor of the customer and our custom use cases that would have otherwise inflated our COGS.
tptacek•3h ago
Love to see more schemes that put the lie to 128 bit addresses being overkill. We'll find ways to run out of them soon enough!

(Signed: someone who deployed at scale a scheme that eats 8 octets for two embedded IPv4 addresses, plus an additional 2 octets of signaling).

pmarreck•1h ago
Honest question- Would a full IPv6 implementation across the board, hurt Tailscale's M.O. and bottom line, assuming all routing worked properly (a big assumption, to be sure)?

You can probably guess the next question, if the answer to that one is anything like a "yes"

That said, my experiences with Tailscale have been nothing but positive and I appreciate the work they're doing to simplify Internet connectivity between endpoints inside different LANs and WANs

liotier•21m ago
I used to operate a home network all enterprisey and public Internetish, with VLAN, inter-VLAN routing & firewalling, a public IPv4 on the outside on an OPNsense router, and a Hurricane Electric free public /48 block (through their tunnel service) so that every node has at least one public IP... I ditched it all - I now operate a flat LAN with the ISP's standard box - and Tailscale everywhere. The only major functional difference is that services hosted on the LAN require and external reverse proxy (which I run on a free Oracle Cloud Ampere host)...

As a bonus, my family can call the ISP's tech support if anything dysfunction while I'm traveling: my self-hosting crap is perfectly independent from the ISP's standard service. And wait, there's more - I can add services anywhere, such as a backup server at my parent's, regardless of their configuration and with no impact.

So yes, Tailscale all the things... I'm nostalgic for the IPv6 flat end-to-end dream but, in our world, Tailscale functionally surpasses it.

Embeddings are underrated

https://technicalwriting.dev/ml/embeddings/overview.html
391•jxmorris12•6h ago•117 comments

Why National Labs are investing (heavily) in AI

https://www.lanl.gov/media/publications/1663/0125-qa-jason-pruet
42•LAsteNERD•1h ago•21 comments

The Barbican

https://arslan.io/2025/05/12/barbican-estate/
309•farslan•6h ago•117 comments

RIP Usenix ATC

https://bcantrill.dtrace.org/2025/05/11/rip-usenix-atc/
99•joecobb•5h ago•19 comments

Show HN: Lumoar – Free SOC 2 tool for SaaS startups

https://www.lumoar.com
31•asdxrfx•2h ago•18 comments

HealthBench

https://openai.com/index/healthbench/
99•mfiguiere•3h ago•62 comments

Build Your Own Siri. Locally. On-Device. No Cloud

https://thehyperplane.substack.com/p/build-your-own-siri-locally-on-device
23•andreeamiclaus•2h ago•4 comments

Launch HN: ParaQuery (YC X25) – GPU Accelerated Spark/SQL

77•winwang•5h ago•49 comments

Byte latent transformer: Patches scale better than tokens

https://arxiv.org/abs/2412.09871
65•dlojudice•4h ago•21 comments

A community-led fork of Organic Maps

https://www.comaps.app/news/2025-05-12/3/
250•maelito•9h ago•169 comments

Ruby 3.5 Feature: Namespace on read

https://bugs.ruby-lang.org/issues/21311
145•ksec•7h ago•67 comments

Reviving a modular cargo bike design from the 1930s

https://www.core77.com/posts/136773/Reviving-a-Modular-Cargo-Bike-Design-from-the-1930s
98•surprisetalk•7h ago•88 comments

5 Steps to N-Body Simulation

https://alvinng4.github.io/grav_sim/5_steps_to_n_body_simulation/
49•dargscisyhp•2d ago•2 comments

The Acid King (2001)

https://www.rollingstone.com/feature/acid-lsd-king-william-leonard-pickard-prison-pete-wilkinson-184390/
21•udit99•3d ago•13 comments

Legion Health (YC S21) is hiring engineers to help fix mental health with AI

https://www.workatastartup.com/jobs/75011
1•the_danny_g•4h ago

Toward a Sparse and Interpretable Audio Codec

https://arxiv.org/abs/2505.05654
19•cochlear•3h ago•1 comments

Show HN: Airweave – Let agents search any app

https://github.com/airweave-ai/airweave
93•lennertjansen•6h ago•24 comments

NASA Study Reveals Venus Crust Surprise

https://science.nasa.gov/science-research/astromaterials/nasa-study-reveals-venus-crust-surprise/
7•mnem•3d ago•6 comments

Demonstrably Secure Software Supply Chains with Nix

https://nixcademy.com/posts/secure-supply-chain-with-nix/
57•todsacerdoti•6h ago•18 comments

I hacked a dating app (and how not to treat a security researcher)

https://alexschapiro.com/blog/security/vulnerability/2025/04/21/startups-need-to-take-security-seriously
391•bearsyankees•4h ago•222 comments

Universe expected to decay in 10⁷⁸ years, much sooner than previously thought

https://phys.org/news/2025-05-universe-decay-years-sooner-previously.html
146•pseudolus•11h ago•191 comments

University of Texas-led team solves a big problem for fusion energy

https://news.utexas.edu/2025/05/05/university-of-texas-led-team-solves-a-big-problem-for-fusion-energy/
190•signa11•9h ago•141 comments

Continuous glucose monitors reveal variable glucose responses to the same meals

https://examine.com/research-feed/study/1jjKq1/
121•Matrixik•2d ago•71 comments

Show HN: CLI that spots fake GitHub stars, risky dependencies and licence traps

https://github.com/m-ahmed-elbeskeri/Starguard
80•artski•8h ago•49 comments

Why GADTs matter for performance (2015)

https://blog.janestreet.com/why-gadts-matter-for-performance/
42•hyperbrainer•2d ago•14 comments

What if humanity forgot how to make CPUs?

https://twitter.com/lauriewired/status/1922015999118680495
14•Tabular-Iceberg•58m ago•11 comments

Tailscale 4via6 – Connect Edge Deployments at Scale

https://tailscale.com/blog/4via6-connectivity-to-edge-devices
80•tiernano•7h ago•21 comments

Spade Hardware Description Language

https://spade-lang.org/
96•spmcl•9h ago•49 comments

A Typical Workday at a Japanese Hardware Tool Store [video]

https://www.youtube.com/watch?v=A98jyfB5mws
121•Erikun•2d ago•52 comments

How to title your blog post or whatever

https://dynomight.net/titles/
61•cantaloupe•5h ago•23 comments