{"id":13602926,"url":"https://github.com/its0x08/wg-install","last_synced_at":"2025-04-11T13:31:49.432Z","repository":{"id":34030673,"uuid":"166032466","full_name":"its0x08/wg-install","owner":"its0x08","description":"Wireguard auto-installer for Ubuntu, Debian, CentOS and Fedora","archived":false,"fork":false,"pushed_at":"2024-04-30T13:38:32.000Z","size":102,"stargazers_count":150,"open_issues_count":1,"forks_count":11,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-08-02T18:43:25.324Z","etag":null,"topics":["autoinstall","bash","centos","debian","encryption","fast","kernel-module","linux","low-bandwidth","oneliner","redhat","script","secure-by-default","state-of-the-art","ubuntu","vpn","vpn-client","vpn-manager","vpn-server","wireguard"],"latest_commit_sha":null,"homepage":"","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/its0x08.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":"https://www.paypal.me/KristBegaj"}},"created_at":"2019-01-16T11:55:53.000Z","updated_at":"2024-05-22T22:01:58.000Z","dependencies_parsed_at":"2024-01-13T19:43:34.393Z","dependency_job_id":"11e5b08b-9a35-4899-8a3b-8ef04af4274f","html_url":"https://github.com/its0x08/wg-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/its0x08%2Fwg-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its0x08%2Fwg-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its0x08%2Fwg-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its0x08%2Fwg-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/its0x08","download_url":"https://codeload.github.com/its0x08/wg-install/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223470325,"owners_count":17150536,"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":["autoinstall","bash","centos","debian","encryption","fast","kernel-module","linux","low-bandwidth","oneliner","redhat","script","secure-by-default","state-of-the-art","ubuntu","vpn","vpn-client","vpn-manager","vpn-server","wireguard"],"created_at":"2024-08-01T18:01:43.357Z","updated_at":"2024-11-07T06:30:39.889Z","avatar_url":"https://github.com/its0x08.png","language":"Shell","funding_links":["https://www.paypal.me/KristBegaj"],"categories":["Shell","bash"],"sub_categories":[],"readme":"\n# wg-install v0.1.01\nWireGuard autoinstaller written in Bash\n\n[WireGuard](https://www.wireguard.com) [road warrior](http://en.wikipedia.org/wiki/Road_warrior_%28computing%29) installer for Ubuntu, Debian, CentOS and Fedora!\n\nThis script will install automatically the Wireguard server and generate client configuration files for a secure connection.\n\n![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2Fits0x08%2Fwg-install\u0026countColor=%232ccce4\u0026style=flat-square)\n[![Semgrep](https://github.com/its0x08/wg-install/actions/workflows/semgrep.yml/badge.svg)](https://github.com/its0x08/wg-install/actions/workflows/semgrep.yml)\n[![Codacy Security Scan](https://github.com/its0x08/wg-install/actions/workflows/codacy.yml/badge.svg)](https://github.com/its0x08/wg-install/actions/workflows/codacy.yml)\n\n\n## Usage command\n\n### Oneliners:\n```bash\nwget http://git.io/Jff1k -qO wg.sh \u0026\u0026 bash wg.sh\n```\n```bash\ncurl http://git.io/Jff1k -sSLo wg.sh \u0026\u0026 bash wg.sh\n```\n```bash\n/bin/bash -c \"$(curl -fsSL http://git.io/Jff1k)\"\n```\n\n### Steps to download and run the scripts:\n```bash\ngit clone https://github.com/its0x08/wg-install.git\ncd wg-install\nbash wg-install.sh\n```\n\n## Add new client or remove and uninstall WireGuard\nYou can run it again to generate more users after the first run, or remove WireGuard. Reboot your server to apply all settings.\n\n## To start/activate the Wireguard client:\n```bash\nwg-quick up config_name\n```\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, (default: `10.9.0.0/24`)\n* SERVER_HOST - public IP address, detected by default\n* SERVER_PORT - listening port, picked randomly by default\n* CLIENT_DNS - comma serparated DNS servers to use by the client\n* ADD_REMOVE - set to `1` to remove WireGuard or `2` to add new users\n* WG_CONFIG - set config location (default: `/etc/wireguard/wg0.conf`)\n\n\nCopy the file `/root/client-wg0.conf` from a remote server to your local PC\npath `/etc/wireguard/wg0.conf` and run `sudo systemctl start wg-quick@wg0.service` or\nyou can use the QR code generated by this script to auto-add mobile clients.\n\n## Server/Client status:\nTo check VPN status, run `wg`.\n\n# Pull Requests are appreciated\n\n## Enjoy it !\n\n#### Note: dont forget to report bugs please!!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits0x08%2Fwg-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fits0x08%2Fwg-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits0x08%2Fwg-install/lists"}