WireGuard: Difference between revisions

Update config for 24.11 and link to a more detailed blogpost
Added a hint, which package needs to be added for the ip46tables command.
Line 394: Line 394:
   };
   };
}
}
</syntaxHighlight>
</syntaxHighlight>{{Note|For the ip46tables command you need to add the reaction package.}}{{note|On NixOS 22.05 and earlier, the nixos-fw-rpfilter chain was in the raw table, not in the mangle table}}
 
{{note|On NixOS 22.05 and earlier, the nixos-fw-rpfilter chain was in the raw table, not in the mangle table}}


Adding a wireguard connection to NetworkManager is not straightforward to do fully in gui, it is simpler to reuse a configuration file for wg-guick. For example:
Adding a wireguard connection to NetworkManager is not straightforward to do fully in gui, it is simpler to reuse a configuration file for wg-guick. For example: