Merge pull request #84173 from bkchr/bkchr-fix-wg-quick
Fix wg-quick after wireguard got upstreamed
This commit is contained in:
commit
b483a679ee
@ -302,7 +302,7 @@ in {
|
|||||||
###### implementation
|
###### implementation
|
||||||
|
|
||||||
config = mkIf (cfg.interfaces != {}) {
|
config = mkIf (cfg.interfaces != {}) {
|
||||||
boot.extraModulePackages = [ kernel.wireguard ];
|
boot.extraModulePackages = optional (versionOlder kernel.kernel.version "5.6") kernel.wireguard;
|
||||||
environment.systemPackages = [ pkgs.wireguard-tools ];
|
environment.systemPackages = [ pkgs.wireguard-tools ];
|
||||||
# This is forced to false for now because the default "--validmark" rpfilter we apply on reverse path filtering
|
# This is forced to false for now because the default "--validmark" rpfilter we apply on reverse path filtering
|
||||||
# breaks the wg-quick routing because wireguard packets leave with a fwmark from wireguard.
|
# breaks the wg-quick routing because wireguard packets leave with a fwmark from wireguard.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user