!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

900 Members
on your Router! Declaratively manage your switching, routing, wireless, tunneling and more.271 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
28 Feb 2026
@ilsubyeega:catgirl.cloudilsubyeegagod thats a ton09:49:01
@ilsubyeega:catgirl.cloudilsubyeegaimage.png
Download image.png
09:49:12
@ilsubyeega:catgirl.cloudilsubyeega *

Hello, I want to configure my both desktop and laptop with topology from following image, really no clue about linux networking:

  • What should i use for networking? looks like systemd.networkd and networkmanager exists, but i was daily driving networkmanager while not knowing networkd, one of friend suggests to use networkd, looks like nixpkgs nixos module is quite decent than networkmanager. If networkd, should i scare about WIFI/wireless network usage there?
  • the idea is:
    • create physical-named group, adding wlan0 and eth0 to group
    • create nordvpn nixos container(nspawnd, i believe) and network group, uses physical as upstream network, exposing to own network group
    • create cloudflare nixos container and network group, uses nordvpn as upstream network, exposing to own network group.
    • create tailscale nixos container and network group, uses physical as upstream network, exposing to own network group.
    • create main network group which does:
      • uses physical/nordvpn/cloudflare as network upstream. easily swappable
      • merges tailscale's internal IP range
      • all processes/userspace programs that didnt set explict network configuration should go towards here.
  • while researching the article(as nested vpn) shows running custom systemd services which invoke netns command, i believe there must be the another way to configure this; there are many raw resources on linux networking, not sure each things fit my specific use case, so I'm asking: what approach would be ideal?
09:50:05
@k900:0upti.meK900Why are you even doing any of this09:51:20
@k900:0upti.meK900This is SO overengineered and why09:51:29
@ilsubyeega:catgirl.cloudilsubyeegawanted to use nested vpn without extra concens by writing declartive configuration09:52:21
@ilsubyeega:catgirl.cloudilsubyeegagoing to daily drive this and serve some portion of this into my vps later09:53:04
@k900:0upti.meK900But why nested VPNs at all?09:53:09
@k900:0upti.meK900And why so many of them09:53:16
@ilsubyeega:catgirl.cloudilsubyeegaits at 2 for this case, at this time cloudflare exposes your location without opt-out09:54:14
@ilsubyeega:catgirl.cloudilsubyeegafor tailscale they dont have detailed linux setup docs for like this so pushing in container(also cloudflare is binary while nordvpn is not)09:55:16
@adam:robins.wtfadamcstephensif you don't trust cf, why use them at all?14:05:11
@ilsubyeega:catgirl.cloudilsubyeegacost14:06:17
@adam:robins.wtfadamcstephenswhat you don't pay in money costs you in other ways.14:08:28
@adam:robins.wtfadamcstephensespecially when using an American service.14:09:48
@ilsubyeega:catgirl.cloudilsubyeegaim on asia14:09:58
@adam:robins.wtfadamcstephensand cloudflare is...14:10:10
@ilsubyeega:catgirl.cloudilsubyeegamultiple regioned14:10:18
@adam:robins.wtfadamcstephensmmhmm14:11:56

Show newer messages


Back to Room ListRoom Version: 6