{"id":23727738,"url":"https://github.com/voxpupuli/puppet-strongswan","last_synced_at":"2025-09-04T03:32:37.066Z","repository":{"id":37579894,"uuid":"52383874","full_name":"voxpupuli/puppet-strongswan","owner":"voxpupuli","description":"Puppet Strongswan Module","archived":false,"fork":false,"pushed_at":"2025-08-12T09:14:02.000Z","size":257,"stargazers_count":10,"open_issues_count":4,"forks_count":14,"subscribers_count":39,"default_branch":"master","last_synced_at":"2025-08-22T06:44:14.401Z","etag":null,"topics":["centos-puppet-module","debian-puppet-module","hacktoberfest","linux-puppet-module","puppet","redhat-puppet-module","ubuntu-puppet-module"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/voxpupuli.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"open_collective":"vox-pupuli","github":"voxpupuli"}},"created_at":"2016-02-23T19:01:04.000Z","updated_at":"2025-08-12T09:14:05.000Z","dependencies_parsed_at":"2023-12-19T08:34:49.802Z","dependency_job_id":"1640ccae-6f70-4c96-a92d-df09106eb569","html_url":"https://github.com/voxpupuli/puppet-strongswan","commit_stats":{"total_commits":136,"total_committers":14,"mean_commits":9.714285714285714,"dds":0.6470588235294117,"last_synced_commit":"ca2a01f49c77f40e8f7fb671add99c13c1f0a03b"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/voxpupuli/puppet-strongswan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-strongswan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-strongswan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-strongswan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-strongswan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voxpupuli","download_url":"https://codeload.github.com/voxpupuli/puppet-strongswan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-strongswan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273547401,"owners_count":25125051,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["centos-puppet-module","debian-puppet-module","hacktoberfest","linux-puppet-module","puppet","redhat-puppet-module","ubuntu-puppet-module"],"created_at":"2024-12-31T01:29:51.336Z","updated_at":"2025-09-04T03:32:36.659Z","avatar_url":"https://github.com/voxpupuli.png","language":"Ruby","funding_links":["https://opencollective.com/vox-pupuli","https://github.com/sponsors/voxpupuli"],"categories":[],"sub_categories":[],"readme":"# [![Build Status](https://travis-ci.org/voxpupuli/puppet-strongswan.svg?branch=master)](https://travis-ci.org/voxpupuli/puppet-strongswan)\n\nThis Puppet module contains configurations for Strongswan.\n## Example usage\n\n### StrongSwan default config:\n\n```puppet\ninclude strongswan\n```\n\n### Strongswan self-signed CA:\n\n```puppet\ninclude strongswan::pki::ca\n```\n\n### Strongswan certificates management:\n\n```puppet\nstrongswan::pki::certificate {'server':\n  common_name =\u003e 'myvpn.local',\n  san         =\u003e ['@strongswan-1','strongswan-1','192.168.33.42', '@192.168.33.42'],\n}\n\nstrongswan::pki::certificate {'John Smith':\n  common_name  =\u003e 'Jonh Smith',\n  p12_password =\u003e 'mySuperStrongPass',\n}\n```\n\n### Example configuration ipsec.conf:\n\n```puppet\nstrongswan::conn { '%default':\n  options =\u003e {\n    \"ike\"         =\u003e \"aes128gcm128-prfsha256-ecp256!\",\n    \"esp\"         =\u003e \"aes128gcm128-ecp256!\",\n    \"keyexchange\" =\u003e \"ikev2\",\n    \"ikelifetime\" =\u003e \"60m\",\n    \"lifetime\"    =\u003e \"20m\",\n    \"margintime\"  =\u003e \"3m\",\n    \"closeaction\" =\u003e \"restart\",\n    \"dpdaction\"   =\u003e \"restart\",\n  }\n}\n\nstrongswan::conn { 'IPsec-IKEv2':\n  options =\u003e {\n    \"rekey\"         =\u003e \"no\",\n    \"left\"          =\u003e \"%any\",\n    \"leftsubnet\"    =\u003e \"0.0.0.0/0\",\n    \"leftcert\"      =\u003e \"vpnHostCert.der\",\n    \"right\"         =\u003e \"%any\",\n    \"rightdns\"      =\u003e \"8.8.8.8,8.8.4.4\",\n    \"rightsourceip\" =\u003e \"10.10.10.0/24\",\n    \"auto\"          =\u003e \"add\",\n  }\n}\n\nstrongswan::conn { 'IKEv2-EAP':\n  options =\u003e {\n    \"also\"          =\u003e \"IPSec-IKEv2\",\n    \"leftauth\"      =\u003e \"pubkey\",\n    \"leftsendcert\"  =\u003e \"always\",\n    \"rightauth\"     =\u003e \"eap-mschapv2\",\n    \"rightsendcert\" =\u003e \"never\",\n    \"eap_identity\"  =\u003e \"%any\",\n  }\n```\n\n### ipsec.secrets\n\n```puppet\nstrongswan::secrets { '%any':\n  options =\u003e {\n    'RSA' =\u003e 'vpnHostKey.der keypass'\n  }\n}\n\nstrongswan::secrets { 'John':\n  options =\u003e {\n    'EAP' =\u003e 'SuperSecretPass'\n  }\n}\n```\n\n### charon daemon configuration example:\n\n```puppet\nstrongswan::charon { 'dns':\n  options =\u003e {\n    'dns1' =\u003e '8.8.8.8',\n    'dns2' =\u003e '8.8.4.4'\n  }\n}\n```\n\n### charon logging configuration example:\n\n```puppet\nstrongswan::charon { '/var/log/vpn.log':\n  options =\u003e {\n    'filelog' =\u003e {\n      '/var/log/vpn.log' =\u003e {\n        'time_format' =\u003e '%b %e %T',\n        'ike_name'    =\u003e 'yes',\n        'append'      =\u003e 'no',\n        'default'     =\u003e '1',\n        'flush_line'  =\u003e 'yes',\n      },\n      'stderr' =\u003e {\n        'ike' =\u003e '2',\n        'knl' =\u003e '2',\n      }\n    }\n  }\n}\n```\n\n### Setup configuration\n\n### The IPsec 'config setup' section in ipsec.conf:\n\n```puppet\nclass { 'strongswan::setup':\n  options =\u003e {\n    'charondebug' =\u003e '\"ike 2, knl 2, cfg 2\"'\n  }\n}\n```\n\n## Compatibility\n\nSupports:\n\n* RedHat\n* Debian/Ubuntu\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxpupuli%2Fpuppet-strongswan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoxpupuli%2Fpuppet-strongswan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxpupuli%2Fpuppet-strongswan/lists"}