services.libreswan.connections
NixOS option
A set of connections to define for the Libreswan IPsec service
type: attribute set of strings concatenated with "\n"Default
{ }Example
declared in: nixos/modules/services/networking/libreswan.nixView source on NixOS/nixpkgs →{ myconnection = ''
auto=add
left=%defaultroute
leftid=@user
right=my.vpn.com
ikev2=no
ikelifetime=8h
'';
}