Skip to content

Instantly share code, notes, and snippets.

Created October 24, 2012 12:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3945801 to your computer and use it in GitHub Desktop.
Save anonymous/3945801 to your computer and use it in GitHub Desktop.
strongswan.conf
# strongswan.conf - strongSwan configuration file
charon {
dns1 = 8.8.8.8
dns2 = 8.8.4.4
charon.multiple_authentication=yes
charon.block_threshold=10
charon.retry_initiate_interval=1
charon.reuse_ikesa=yes
filelog {
/var/log/charon.log {
time_format = %b %e %T
append = yes
default = 2
flush_line = yes
}
stderr {
ike = 2
knl = 3
ike_name = yes
}
}
plugins {
sql {
# loglevel to log into sql database
loglevel = 1
# URI to the database
# database = sqlite:///path/to/file.db
database = mysql://strongswan:Aecie1oo@localhost/strongswan
}
}
}
syslog {
identifier = charon-custom
daemon {
}
auth {
default = -1
ike = 0
}
}
#libstrongswan {
# integrity_test = yes
# crypto_test {
# on_add = yes
# on_create = yes
# required = yes
# }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment