Add StrongSwan log level config option to ipsec.conf template (#700)

This commit is contained in:
Julie Bernosky 2017-10-19 07:06:43 -07:00 committed by Jack Ivanov
parent 3c55cd15a4
commit dc4dff040e
2 changed files with 5 additions and 1 deletions

View file

@ -20,6 +20,10 @@ vpn_network_ipv6: 'fd9d:bc11:4020::/48'
server_name: "{{ ansible_ssh_host }}"
IP_subject_alt_name: "{{ ansible_ssh_host }}"
# StrongSwan log level
# https://wiki.strongswan.org/projects/strongswan/wiki/LoggerConfiguration
strongswan_log_level: 2
adblock_lists:
- "http://winhelp2002.mvps.org/hosts.txt"
- "https://adaway.org/hosts.txt"

View file

@ -1,6 +1,6 @@
config setup
uniqueids=never # allow multiple connections per user
charondebug="ike 2, knl 2, cfg 2, net 2, esp 2, dmn 2, mgr 2"
charondebug="ike {{ strongswan_log_level }}, knl {{ strongswan_log_level }}, cfg {{ strongswan_log_level }}, net {{ strongswan_log_level }}, esp {{ strongswan_log_level }}, dmn {{ strongswan_log_level }}, mgr {{ strongswan_log_level }}"
conn %default
fragmentation=yes