{"id":13340700,"url":"https://github.com/zbo14/wirevpn-server","last_synced_at":"2026-05-08T13:44:35.006Z","repository":{"id":94588867,"uuid":"241768198","full_name":"zbo14/wirevpn-server","owner":"zbo14","description":"Run a WireGuard VPN server on Ubuntu","archived":false,"fork":false,"pushed_at":"2020-02-22T18:10:18.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T14:27:35.667Z","etag":null,"topics":["bash","ubuntu","vpn","wireguard"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/zbo14.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2020-02-20T01:42:57.000Z","updated_at":"2020-04-17T21:30:40.000Z","dependencies_parsed_at":"2023-03-02T22:15:38.706Z","dependency_job_id":null,"html_url":"https://github.com/zbo14/wirevpn-server","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/zbo14%2Fwirevpn-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbo14%2Fwirevpn-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbo14%2Fwirevpn-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbo14%2Fwirevpn-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zbo14","download_url":"https://codeload.github.com/zbo14/wirevpn-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245659051,"owners_count":20651525,"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":["bash","ubuntu","vpn","wireguard"],"created_at":"2024-07-29T19:23:54.921Z","updated_at":"2026-05-08T13:44:29.985Z","avatar_url":"https://github.com/zbo14.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wirevpn-server\n\nSome scripts and config files to run a WireGuard VPN server on Ubuntu.\n\nThe VPN host runs an Unbound DNS server to handle client requests/prevent [DNS leaking](https://en.wikipedia.org/wiki/DNS_leak). By default, the VPN queries upstream DNS servers at Quad9/Cloudflare and sends requests over TLS.\n\n## Install\n\n`$ sh scripts/install.sh`\n\nInstall WireGuard, Unbound, and other required packages.\n\n### Setup\n\n`$ sh scripts/setup.sh`\n\nThis script does the following:\n\n1. Generate public and private keys and write them to `~/.wireguard`\n1. Encrypt the private key with a GPG key of your choosing\n1. Write a WireGuard config to `/etc/wireguard`\n1. Write the public key to stdout\n\n### Start\n\n`$ sh scripts/start.sh`\n\nThis script does the following:\n\n1. Bring up the WireGuard interface\n1. Decrypt your private key with the GPG key you chose\n1. Set the private key on the interface\n\n### Add client\n\n```\n$ sh scripts/addclient.sh \u003cip\u003e \u003cpubkey\u003e \u003cpresharedkey\u003e\n\nArguments:\n  ip            - the desired tunnel IP address for the client\n  pubkey        - the client's public key\n  presharedkey  - the client's preshared key\n```\n\n### Remove client\n\n```\n$ sh scripts/rmclient.sh \u003cpubkey\u003e\n\nArguments:\n  pubkey  - the client's public key\n```\n\n### Stop\n\n`$ sh scripts/stop.sh`\n\nBring down the WireGuard interface.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzbo14%2Fwirevpn-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzbo14%2Fwirevpn-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzbo14%2Fwirevpn-server/lists"}