Stream: nixos

Topic: sdn router using NixOS microvm


view this post on Zulip Tim DeHerrera (Feb 05 2024 at 20:24):

In case anyone is interested I thought I'd share how I was able to setup a virtual router using a NixOS microvm on my build server using cloud-hypervisor. It's really quite nice, considering that most commercial routers are woefully underpowered. At some point it might be nice to try and use the XDP in eBPF to handle the firewall as efficiently as possible, but honestly this is working pretty well as is:
https://github.com/nrdxp/nrdos/commit/68d2d0e7b30d8dff5c2b58e3e4f6eebed74f170f

view this post on Zulip Shivaraj B H (Feb 06 2024 at 03:50):

Thanks for sharing, was meaning to try this in the past, but never got time. This makes it easier!

view this post on Zulip Tim DeHerrera (Feb 06 2024 at 20:46):

yeah only thing not working atm is local dns resolution. I'll probably try to work that out soon, I'm sure I missed something simple. Even so, I mostly rely on nebula for private network communication so its not urgent for me.

Also, I don't expose any ports to the outside world or even respond to pings.


Last updated: Nov 15 2024 at 11:45 UTC