services.libreswan.policies

NixOS option

A set of policies to apply to the IPsec connections. The policy name must match the one of connection it needs to apply to.

type: attribute set of strings concatenated with "\n"
Default
{ }
Example
{ private-or-clear = ''
    # Attempt opportunistic IPsec for the entire Internet
    0.0.0.0/0
    ::/0
  '';
}
declared in: nixos/modules/services/networking/libreswan.nixView source on NixOS/nixpkgs →