7

I'm new to configuring wireguard & VPNs on Linux, I asked claude for a lot of input and am wondering if there are any faults in what I came up with or if there are better practices or things to do.

  • I'm using NetworkManager with iwd for connecting to wifi, since KDE's wifi menu supports it.
  • I have ProtonVPN Plus, for the whole system it works with either the app or with a wireguard configuration imported into KDE. For this I just tested with the former.
  • For per-app connections claude suggested vopono, I set up the systemd unit for it as recommended in the docs. I use commands like this: vopono exec --custom wireguard-config.conf -i eth0 --protocol wireguard browser-name.
    • However it looks like every time I start my PC up I need to do this command (provided by claude) to fix priority: sudo ip rule add from 10.200.0.0/1 lookup main priority 100 (I could have it run automatically on startup or add it to my nix config, but am wondering if something like is normal for this).
  • I mainly want to have different IP addresses in different browsers.

Right now this is my NixOS configuration:

  networking = {
    hostName = "my-pc-host-name";
    networkmanager.enable = true;
    networkmanager.wifi.backend = "iwd";
    firewall.checkReversePath = false;
    wireless.iwd = {
      enable = true;
      settings.General.EnableNetworkConfiguration = true;
    };
    networkmanager.unmanaged = [
      "interface-name:vo_*"
    ];
  };
no comments (yet)
sorted by: hot top new old
there doesn't seem to be anything here
this post was submitted on 28 Nov 2026
7 points (81.8% liked)

Linux

5703 readers
225 users here now

Shit, just linux.

Use this community for anything related to linux for now, if it gets too huge maybe there will be some sort of meme/gaming/shitpost spinoff. Currently though… go nuts

founded 3 years ago
MODERATORS