{"id":13826177,"url":"https://github.com/l-n-s/wireguard-install","last_synced_at":"2025-07-09T00:32:45.387Z","repository":{"id":100384629,"uuid":"161135677","full_name":"l-n-s/wireguard-install","owner":"l-n-s","description":"WireGuard VPN server installer","archived":true,"fork":false,"pushed_at":"2020-02-16T14:13:14.000Z","size":22,"stargazers_count":657,"open_issues_count":23,"forks_count":166,"subscribers_count":38,"default_branch":"master","last_synced_at":"2024-08-05T09:14:55.762Z","etag":null,"topics":["networking","privacy","security","self-hosted","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/l-n-s.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}},"created_at":"2018-12-10T07:36:28.000Z","updated_at":"2024-07-17T14:29:56.000Z","dependencies_parsed_at":"2023-05-14T07:00:07.944Z","dependency_job_id":null,"html_url":"https://github.com/l-n-s/wireguard-install","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/l-n-s%2Fwireguard-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-n-s%2Fwireguard-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-n-s%2Fwireguard-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-n-s%2Fwireguard-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/l-n-s","download_url":"https://codeload.github.com/l-n-s/wireguard-install/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225476384,"owners_count":17480215,"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":["networking","privacy","security","self-hosted","vpn","wireguard"],"created_at":"2024-08-04T09:01:33.368Z","updated_at":"2024-11-20T05:30:25.482Z","avatar_url":"https://github.com/l-n-s.png","language":"Shell","funding_links":[],"categories":["\u003ca id=\"d62a971d37c69db9f3b9187318c3921a\"\u003e\u003c/a\u003e工具","Shell","vpn"],"sub_categories":["\u003ca id=\"8ea8f890cf767c3801b5e7951fca3570\"\u003e\u003c/a\u003e公网访问局域网"],"readme":"# wireguard-install\n\nThis repository is **no longer maintained** due to lack of time. Use [some other scripts](https://github.com/angristan/wireguard-install) instead.\n\n[WireGuard](https://www.wireguard.com) [road warrior](http://en.wikipedia.org/wiki/Road_warrior_%28computing%29) installer for Ubuntu 18.04 LTS, Debian 9 and CentOS 7.\n\nThis script will let you setup your own VPN server in no more than a minute, even if you haven't used WireGuard before. It has been designed to be as unobtrusive and universal as possible.\n\n## Usage\n\nRun the script and follow the assistant:\n\n```\nwget https://raw.githubusercontent.com/l-n-s/wireguard-install/master/wireguard-install.sh -O wireguard-install.sh\nbash wireguard-install.sh\n```\n\nOnce it ends, you can run it again to add more users. Reboot your server to apply all settings.\n\n## Options\n\nThe script can be configured by setting the following environment variables:\n\n* INTERACTIVE - if set to \"no\", the script will not prompt for user input\n* PRIVATE\\_SUBNET - private subnet configuration, \"10.9.0.0/24\" by default\n* SERVER\\_HOST - public IP address, detected by default\n* SERVER\\_PORT - listening port, picked random by default\n* CLIENT\\_DNS - comma separated DNS servers to use by the client\n\n## Setting up clients\n\n### Ubuntu PC\n\nInstall WireGuard and reboot your computer:\n\n    sudo add-apt-repository ppa:wireguard/wireguard -y \u0026\u0026 sudo apt update \u0026\u0026 sudo apt install wireguard resolvconf -y\n    sudo reboot\n\nCopy the file `/root/client-wg0.conf` from a remote server to your local PC path `/etc/wireguard/wg0.conf` and run \n`sudo systemctl start wg-quick@wg0.service`\n\nTo show VPN status, run `sudo wg show`.\n\n## Credits\n\nInspired by [Nyr's openvpn-install](https://github.com/Nyr/openvpn-install).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl-n-s%2Fwireguard-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fl-n-s%2Fwireguard-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl-n-s%2Fwireguard-install/lists"}