MyNixOS website logo
option

services.libreswan.configSetup

Options to go in the 'config setup' section of the Libreswan IPsec configuration.

Declarations
Type
strings concatenated with "\n"
Default
''
  protostack=netkey
  virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12,%v4:25.0.0.0/8,%v4:100.64.0.0/10,%v6:fd00::/8,%v6:fe80::/10
''
Example
''
  secretsfile=/root/ipsec.secrets
  protostack=netkey
  virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12,%v4:25.0.0.0/8,%v4:100.64.0.0/10,%v6:fd00::/8,%v6:fe80::/10
''