undersuit 2 days ago

I've never set up a Plan 9 system... does this allow the distributed systems communications to run through my Tailnet?

  • MisterTea 2 days ago

    Yes, you could do something like keep a small root fs or pack everything into the kernels paqfs to boot into a Tailscale VPN and pull root from another 9 machine on the VPN. Then pull resources in from other machines including non 9 systems.

    Either way it makes VPN easy between 9 and non 9 machines. Otherwise Plan 9 can do it's own VPN-like over tls or ssh tunnels and bind remote network stacks to a local namespace. But that makes seamless Unix and Windows comms difficult.

    • bradfitz 2 days ago

      > Otherwise Plan 9 can do it's own VPN-like over tls or ssh tunnels and bind remote network stacks to a local namespace

      Note that one of Tailscale's main party tricks is NAT traversal, when both machines are behind different NATs and can't otherwise get a connection open to each other. (And then Tailscale ultimately falls back to a relay server on the internet if it can't get a direct connection for IP packets)

      • MisterTea 2 days ago

        For situations where you have no control over the NAT then this is indeed the case.

        Though, 9front lets you run your own NAT giving you an Internet facing 9 machine you can serve a TLS tunnel from directly. So the server side is solved making the client side NAT a non issue.

        • bradfitz 2 days ago

          If your 9front machine is in a position on the network whereby it could serve a NAT, you don't have many networking problems at that point. Almost all operating systems can do NAT in such a position.

          I'm talking about two machines deep in somebody else's network or where you don't control the router/NAT.

  • bradfitz 2 days ago

    I think so! Caveat is I've never really used Plan 9 outside of single-user VMs.

INTPenis 2 days ago

[flagged]

  • bradfitz 2 days ago

    We actually have that nowadays... the config file support to tailscaled, as Irbe mentioned on the bug Jan 2024: https://github.com/tailscale/tailscale/issues/1412#issuecomm...

    • INTPenis a day ago

      Yeah I did find that in my quest but nowhere is this config file defined. I have no idea what to put into it so it's useless to me.

      Also while I have you here, the tailscale container image lacks iptables support, making it useless.