this post was submitted on 28 Nov 2026
2 points (62.5% liked)

Linux

20144 readers
15 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 3 years ago
MODERATORS
 

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_*"
    ];
  };
top 3 comments
sorted by: hot top controversial new old
[–] iopq@lemmy.world 1 points 1 day ago (1 children)

I added a bunch of custom systemd services for my networking needs. I even figured out how to start them after the WiFi connects to the network

[–] TheTwelveYearOld@lemmy.ml 2 points 1 day ago (1 children)