{"id":15751182,"url":"https://github.com/rgl/wireguard-vagrant","last_synced_at":"2025-03-31T07:21:32.427Z","repository":{"id":139753748,"uuid":"239946157","full_name":"rgl/wireguard-vagrant","owner":"rgl","description":"wireguard vpn example vagrant environment","archived":false,"fork":false,"pushed_at":"2022-08-15T22:30:59.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T11:56:54.472Z","etag":null,"topics":["example","vagrant","wireguard"],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","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/rgl.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":"2020-02-12T06:51:42.000Z","updated_at":"2022-12-08T23:26:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"f674546a-7860-4929-8f85-a42a7d5c49c4","html_url":"https://github.com/rgl/wireguard-vagrant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fwireguard-vagrant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fwireguard-vagrant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fwireguard-vagrant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fwireguard-vagrant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgl","download_url":"https://codeload.github.com/rgl/wireguard-vagrant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246429442,"owners_count":20775809,"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":["example","vagrant","wireguard"],"created_at":"2024-10-04T07:01:08.005Z","updated_at":"2025-03-31T07:21:32.401Z","avatar_url":"https://github.com/rgl.png","language":"PowerShell","readme":"# WireGuard\n\nInstall the base [ubuntu 20.04 vagrant box](https://github.com/rgl/ubuntu-vagrant).\n\nInstall the base [windows 2019 vagrant box](https://github.com/rgl/windows-vagrant).\n\nLaunch the environment:\n\n```bash\ntime vagrant up --provider=libvirt\n```\n\nAfter the environment is up, each machine wireguard configuration will have\nall the other machines as peers, e.g., `/etc/wireguard/wg0.conf` will be:\n\n```plain\n[Interface]\nPrivateKey = +Ps5ijDqZxUtJgXvojG1fMsO6wL3SJixj9s5Glaud3U=\nAddress = 10.2.0.100/24\nListenPort = 51820\n\n[Peer]\nPublicKey = vv0x1c4a93XT0MYhHDHGsxJ2ZZq3uxHugKqj+pa83i0=\nEndpoint = 192.168.53.100:51820\nAllowedIPs = 10.2.0.100/32\n\n[Peer]\nPublicKey = 7S2H6RphXcDLyalL1T/b5Pxmr53137ZmccVRGdgPQDw=\nEndpoint = 192.168.53.101:51820\nAllowedIPs = 10.2.0.101/32\n```\n\nPing a machine from `node0`:\n\n```bash\nvagrant ssh node0\nping     10.2.0.101 # to wireguard interface.\nping 192.168.53.101 # to non-wireguard interface.\n```\n\n## References\n\n* https://www.wireguard.com/\n* [wg-quick(8)](https://git.zx2c4.com/wireguard-tools/about/src/man/wg-quick.8)\n* https://wiki.archlinux.org/index.php/WireGuard\n* https://wiki.debian.org/Wireguard\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgl%2Fwireguard-vagrant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgl%2Fwireguard-vagrant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgl%2Fwireguard-vagrant/lists"}