this post was submitted on 27 Feb 2025
7 points (100.0% liked)

Shitty sysadmin

289 readers
80 users here now

Welcome to Shitty Admin!

This community is for shit posting about terrible things computer admin do. Cross posts are welcome and so is satire.

Please no politics or harmful content

founded 4 months ago
MODERATORS
 

Just use IPv6 address to do multi layered NAT. Simple

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 week ago (3 children)

Just do Plan 9. There is no NAT, if you don't want it, because it is unnecessary.

"Hey computer I want you to use the router's network stack now"

"Can do"

"Hey, what's your IP address?"

(address of the router)

"Hey connect to this other computer"

(router connects to that computer, sends you the traffic)

"Hey open this port"

"Naw that one's already open (because someone else on the network has opened it already)"

Fuckin' magic, man.

Of course you can only use it that way if your router does Plan 9 also, which means you cannot. But it's a fuckin' magic idea.

[–] Ajen 1 points 1 week ago (1 children)

How is that different from upnp?

[–] [email protected] 1 points 1 week ago (1 children)

I'm not talking about being able to discover what the router can do, and then talk to it (and have it do packet inspection and translate addresses to make the traffic from your computer look like it was coming from the router). I'm talking about being able to use the router's own network stack, natively, from a separate computer, and have the machine you're using absorb every aspect of the router's networking (what its own IP address is, what ports are open and not, and so on), as if the programs were running on the router. You can also use the same thing to create a VPN or something, without needing any code at all that is "creating" the NAT setup or the VPN. It's pretty wild.

Here's a super-short introduction to how it works:

https://drewdevault.com/2022/11/12/In-praise-of-Plan-9.html

[–] Ajen 1 points 1 week ago

Huh, interesting

load more comments (1 replies)