{"id":21027623,"url":"https://github.com/caledoniaproject/ipsec-autosetup","last_synced_at":"2026-06-22T18:31:33.177Z","repository":{"id":146441388,"uuid":"83063461","full_name":"CaledoniaProject/ipsec-autosetup","owner":"CaledoniaProject","description":null,"archived":false,"fork":false,"pushed_at":"2019-07-27T05:35:59.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T19:12:41.104Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CaledoniaProject.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-02-24T16:55:59.000Z","updated_at":"2019-07-27T05:36:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"f7a120ac-84d8-4fd2-8070-bdf57d632359","html_url":"https://github.com/CaledoniaProject/ipsec-autosetup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CaledoniaProject/ipsec-autosetup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaledoniaProject%2Fipsec-autosetup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaledoniaProject%2Fipsec-autosetup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaledoniaProject%2Fipsec-autosetup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaledoniaProject%2Fipsec-autosetup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CaledoniaProject","download_url":"https://codeload.github.com/CaledoniaProject/ipsec-autosetup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaledoniaProject%2Fipsec-autosetup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34661702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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":[],"created_at":"2024-11-19T11:51:53.402Z","updated_at":"2026-06-22T18:31:33.158Z","avatar_url":"https://github.com/CaledoniaProject.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## IKEv2 VPN 全自动化配置（仅支持 Ubuntu 18.04）\n\n安装软件、创建 EAP 随机密码\n\n```bash\nbash ipsec-configure.sh -i YOUR_IP -n YOUR_NIC\n```\n\n之后在客户端导入 CA，可以用 iCloud、邮件等方式同步到手机\n\n### 已知问题\n\n1. 只支持IP方式，如要支持域名方式，请修改脚本里面的 leftid\n2. 重复运行，会重新创建证书\n3. 重启失效，请自行设置 iptables 恢复和 ipv4 转发\n\n### 参考文档\n\n* [How to Set Up an IKEv2 VPN Server with StrongSwan on Ubuntu 16.04](https://www.digitalocean.com/community/tutorials/how-to-set-up-an-ikev2-vpn-server-with-strongswan-on-ubuntu-16-04)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaledoniaproject%2Fipsec-autosetup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaledoniaproject%2Fipsec-autosetup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaledoniaproject%2Fipsec-autosetup/lists"}