Notes on Configuration Examples¶
The configuration "examples" listed on our website are actually regression test scenarios. In order to run all of them, pretty much all plugins are required and get built and installed. That's why load statements are used in each scenario to only load the plugins that are actually needed for it (doing this is generally not recommended).
The config files in these "examples" are not meant to be copy-n-pasted literally. They just serve as, well, examples. Attempting to understand each setting and its effects is definitely advisable. In particular, time settings are explicitly set lower than usual to make the test runs shorter. Check the man or wiki pages for the configuration files for details.
Also important is that the scenarios on https://www.strongswan.org/testing/testresults/ are always for the latest stable release (check the strongSwan version stated on the overview page of the test run). So you might find scenarios that use features that are not available with your strongSwan version (or configure them with different settings).
There are some scenarios that use files (e.g. updown scripts) that are not linked directly or logged in
console.log. Such files may be found in our repository (source:testing/tests) in the
hosts directory of a particular scenario.