{"id":13876084,"url":"https://github.com/miguelangel-nubla/WireGuard-CoreOS","last_synced_at":"2025-07-16T10:33:04.682Z","repository":{"id":142674687,"uuid":"180277137","full_name":"miguelangel-nubla/WireGuard-CoreOS","owner":"miguelangel-nubla","description":"WireGuard builds for CoreOS","archived":true,"fork":false,"pushed_at":"2019-12-19T16:46:28.000Z","size":15,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-07T06:06:03.279Z","etag":null,"topics":["coreos","wireguard"],"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/miguelangel-nubla.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}},"created_at":"2019-04-09T03:24:16.000Z","updated_at":"2023-09-13T16:59:13.000Z","dependencies_parsed_at":"2024-01-13T19:44:38.211Z","dependency_job_id":"44717f9b-c263-4f12-b9de-bd8eb59c4688","html_url":"https://github.com/miguelangel-nubla/WireGuard-CoreOS","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelangel-nubla%2FWireGuard-CoreOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelangel-nubla%2FWireGuard-CoreOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelangel-nubla%2FWireGuard-CoreOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelangel-nubla%2FWireGuard-CoreOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miguelangel-nubla","download_url":"https://codeload.github.com/miguelangel-nubla/WireGuard-CoreOS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226126067,"owners_count":17577472,"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","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":["coreos","wireguard"],"created_at":"2024-08-06T06:01:00.093Z","updated_at":"2024-11-24T04:30:44.822Z","avatar_url":"https://github.com/miguelangel-nubla.png","language":"Shell","funding_links":[],"categories":["Shell","others"],"sub_categories":[],"readme":"\n# WireGuard builds for CoreOS\nAutomatically built WireGuard [torcx](https://github.com/coreos/torcx) packages for latest CoreOS releases.\n\nBuilt by [Travis CI](https://travis-ci.org/miguelangel-nubla/WireGuard-CoreOS/) to the [releases page](https://github.com/miguelangel-nubla/WireGuard-CoreOS/releases) of this GitHub repository.\n\n## Getting Started\n\n### Via Container Linux Config and Ignition (preferred)\nYou can use [the example Container Linux Config](container_linux_config.yml), then [convert it]([https://github.com/coreos/container-linux-config-transpiler](https://github.com/coreos/container-linux-config-transpiler)) onto a ignition.json file and provide it to your CoreOS instances.\n\n### Manually\n* Download the torcx package for your CoreOS release from the [releases page](https://github.com/miguelangel-nubla/WireGuard-CoreOS/releases) to your torcx folder.\n```\nsource /etc/os-release\nwget https://github.com/miguelangel-nubla/WireGuard-CoreOS/releases/download/latest-all/WireGuard.CoreOS_${VERSION_ID}.torcx.tgz \\\n-O /var/lib/torcx/store/${VERSION_ID}/WireGuard:CoreOS_${VERSION_ID}.torcx.tgz\n```\n* Add a new torcx profile.\n```\njq '.value.images += [{ \"name\": \"WireGuard\", \"reference\": \"'CoreOS_${VERSION_ID}'\" }]' /usr/share/torcx/profiles/vendor.json \u003e /etc/torcx/profiles/wg.json\n```\n* `echo wg \u003e /etc/torcx/next-profile`\n* Reboot. WireGuard should be available in `/run/torcx/bin/wg`. Installation is done.\n* After each reboot and before using wireguard you should load the required kernel modules:\n```\nsource /run/metadata/torcx\n/sbin/modprobe ip6_udp_tunnel\n/sbin/modprobe udp_tunnel\n/sbin/insmod ${TORCX_UNPACKDIR}/WireGuard/lib/modules/$(uname -r)/extra/wireguard.ko\n```\n* Load you config with `/run/torcx/bin/wg-quick`\n\n## How to handle CoreOS updates\nThe `/etc/wireguard-setup` script at [the example Container Linux Config](container_linux_config.yml) will try to fetch the torcx package for the new CoreOS version.\n\nIf it fails or there are no packages available for the new version, it will fallback to try building WireGuard directly on the target machine.\n\n## Build yourself\nFor Ubuntu, git clone this repo, then\n```\ncd WireGuard-CoreOS\nsudo apt-get update\nsudo apt-get install -y curl gpg2 bzip2 systemd-container dirmngr\nbash run.sh\n```\nPackages will be at `output/`\n\n## Notes\nAt the time of writing, building the latest WireGuard sources result in a Segmentation fault on most of the CoreOS developer container releases.\\\nThe [Travis CI job](https://travis-ci.org/miguelangel-nubla/WireGuard-CoreOS/) will keep trying daily until the upstream code is fixed.\n\n#### The tag `latest-all` on the [releases page](https://github.com/miguelangel-nubla/WireGuard-CoreOS/releases/tag/latest-all) will always have the latest WireGuard release compatible with each respective CoreOS release.\n\n## Based on\n* https://github.com/coreos/bugs/issues/2225#issuecomment-351578984\n* https://github.com/nopdotcom/coreos-build-wireguard\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiguelangel-nubla%2FWireGuard-CoreOS","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiguelangel-nubla%2FWireGuard-CoreOS","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiguelangel-nubla%2FWireGuard-CoreOS/lists"}