1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-11-18 11:05:16 +00:00
Commit Graph

154 Commits

Author SHA1 Message Date
Goetz Epperlein
f285af5743 fix: Approve CLIENT_NAME without checking config file 2024-03-16 20:37:01 +01:00
Goetz Epperlein
a01b3cf4dc style: Adjust formatting to shfmt 2024-03-16 16:50:27 +01:00
Goetz Epperlein
364c93b9fe feat: Enable headless installation without interaction 2024-03-16 16:37:20 +01:00
Stanislas Lange
39caf2fcf6
Remove visitors badge 2023-01-22 16:45:57 +01:00
Stanislas
cd5ed9e437
Add star history (#423) 2023-01-22 16:42:08 +01:00
Stanislas Lange
71c317bf91
Add support for custom AllowedIPs
Close https://github.com/angristan/wireguard-install/pull/375

Co-authored-by: legale <32621719+legale@users.noreply.github.com>
2023-01-22 16:21:12 +01:00
Stanislas Lange
d36a6459a3
Don't auto remove dependencies when uninstalling
Fix https://github.com/angristan/wireguard-install/issues/301
2023-01-22 15:44:37 +01:00
Stanislas Lange
c97e3cc6b3
Handle IPv6 format for server endpoint
Fix https://github.com/angristan/wireguard-install/issues/352
2023-01-22 15:25:13 +01:00
Stanislas Lange
d7b8cd9948
Fix link in README 2023-01-22 12:42:58 +01:00
Stanislas Lange
0a612774ac
Create client: fix check for existing IP and name
Fix https://github.com/angristan/wireguard-install/issues/371
2023-01-22 12:30:06 +01:00
Stanislas Lange
77185dcdf8
Add more colors + warning to reboot on install
Might help for https://github.com/angristan/wireguard-install/issues/377
2023-01-22 12:18:42 +01:00
Stanislas Lange
3c7c8535d0
Set Cloudflare as default DNS
Might help https://github.com/angristan/wireguard-install/issues/377
2023-01-22 12:12:06 +01:00
Stanislas Lange
d02b753677
Add colors to uninstall warning 2023-01-22 12:11:35 +01:00
Stanislas Lange
2f7e346767
Fix Ubuntu detection 2023-01-22 12:11:19 +01:00
Stanislas Lange
5b483ecb89
Fix support for CentOS, Rocky and AlmaLinux
Fix https://github.com/angristan/wireguard-install/pull/253
Fix https://github.com/angristan/wireguard-install/issues/374
Fix https://github.com/angristan/wireguard-install/issues/231
2023-01-22 12:02:44 +01:00
Stanislas Lange
258eb9441b
Overwrite existing file when creating client 2023-01-22 10:55:56 +01:00
Stanislas Lange
424a92d1e0
Add more warnings for uninstall option
Fix https://github.com/angristan/wireguard-install/pull/176
2023-01-22 10:45:15 +01:00
Stanislas Lange
7565f26b5d
Fix removal of client config 2023-01-22 10:41:55 +01:00
turbozapekanka
444a0f87fb
Fix firewall for Oracle cloud VMs (#334) 2023-01-22 10:30:32 +01:00
Elie Obeid
0a405eb03e
Added listClients which lists all the wireguard profile names (#312)
Co-authored-by: Stanislas Lange <git@slange.me>
2023-01-22 10:22:49 +01:00
Xavier Le Vourch
7a1b3c04ed
Typos and rewordings (#346) 2023-01-22 10:15:58 +01:00
Stanislas Lange
ec1e2f9eb2
Update cloud providers 2023-01-22 01:55:45 +01:00
Stanislas Lange
d32070d97c
Update issue template 2023-01-21 23:19:13 +01:00
Stanislas Lange
591a3d2faa
Add issue/PR templates, update README 2023-01-21 23:12:58 +01:00
dotxyz
0fecf9d783
Add United States Location to Hetzner in Readme (#381) 2022-12-07 19:40:20 +01:00
Xavier Le Vourch
99a199ffa5
AlmaLinux support added (#345) 2022-11-21 18:55:18 +01:00
Stanislas Lange
193fe396a1
Remove trailing space 2022-10-16 22:01:08 +02:00
Hasan Aga
f895b55058
remove default char "n" from uninstall step (#370) 2022-10-16 21:59:16 +02:00
Shihaam Abdul Rahman
514901fd0b
Update readme (#363)
DO changed pricing, made $5 one to $6 and introduced a new $4 one.
2022-10-01 19:52:56 +02:00
Stanislas
29d43c61f2
Update LICENSE 2022-05-20 18:37:49 +02:00
dependabot[bot]
5c2ba2a35b
Bump actions/checkout from 2.4.0 to 3 (#326)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 16:58:41 +01:00
Stanislas
4dfbc55cd9
Add SayThanks badge 2022-01-31 01:40:29 +01:00
Stanislas
1ec514ce13
Update FUNDING.yml 2022-01-31 01:37:33 +01:00
dependabot[bot]
469c2c58d6
Bump actions/checkout from 2.3.4 to 2.4.0 (#285)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 11:54:04 +01:00
Stanislas
842361bc6e Update supported versions 2021-11-12 17:33:29 +01:00
Anatolii Cherednichenko
616e123e6f
Added support for Oracle Linux 8 (#269)
https://www.wireguard.com/install/#oracle-linux-8-uek6-tools
2021-11-12 17:31:39 +01:00
Ravinou
e05e633014
Better IPv4 detection (#278)
On some systems like Hetzner VM cloud i have a Point-to-Point interface so i have a peer address on the same line as my public IPv4 (look at peer here : https://linux.die.net/man/8/ip )

An example of `ip a` with peer is : 
```
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 96:00:00:a2:88:c2 brd ff:ff:ff:ff:ff:ff
    altname enp0s3
    inet XX.XX.XX.XX peer XX.XX.XX.XX/32 brd XX.XX.XX.XX scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::9400:ff:fea2:88c2/64 scope link 
       valid_lft forever preferred_lft forever
```

With a peer, the output of the command line 74 is : `XX.XX.XX.XX peer XX.XX.XX.XX`

I just modify this line with awk to print only the first field which is always the IPv4.
I think it's correct and it's work like a charm when there is a peer or not now. But tell me if it's not good for you :)

Thanks for your work !
2021-10-15 18:13:06 +02:00
Andréi Pampukha
5f4c2f8a38
Fix installation on Raspbian systems (#271)
Co-authored-by: Andrei Pampukha <andrei.pampukha@citynetwork.eu>
Co-authored-by: Stanislas <stanislas.lange@pm.me>
2021-10-03 14:59:40 +02:00
Mikodev
574cc06b31
Add support for Debian 11 Bullseye (#262) 2021-08-22 11:34:08 +02:00
Stanislas
25c486f9e8
Update FUNDING.yml 2021-06-05 00:07:45 +02:00
Stanislas
d91423643c
Update dependabot.yml 2021-05-12 08:51:49 +02:00
dependabot[bot]
6df13a4a60
Bump actions/checkout from 2 to 2.3.4 (#232)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 08:51:38 +02:00
Filipe Melo
9bce7d6e82
Add hot reloading (#181) 2021-04-27 22:44:29 +02:00
enolp
b7855925e6
Remove unneeded packages on Arch Linux (#225) 2021-04-27 22:40:13 +02:00
dependabot[bot]
7be2cf9fb4
Bump ludeeus/action-shellcheck from 1.0.0 to 1.1.0 (#215)
Bumps [ludeeus/action-shellcheck](https://github.com/ludeeus/action-shellcheck) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/ludeeus/action-shellcheck/releases)
- [Commits](https://github.com/ludeeus/action-shellcheck/compare/1.0.0...94e0aab03ca135d11a35e5bfc14e6746dc56e7e9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-01 14:12:24 +02:00
Stanislas Lange
5c41fa0ab5
Be very explicit when WireGuard is not running 2021-03-18 14:31:30 +01:00
Stanislas Lange
bd37d606f1
Improve IP parsing (fix #204) 2021-03-18 14:03:25 +01:00
Stanislas
9fae7ad587
Fix HOME_DIR check (#194)
Fix #189
2021-03-10 22:14:50 +01:00
Patrick M
21b5e56eea
Fix unnecessary reinstall of packages (#172) 2021-01-02 00:41:13 +01:00
glenn wolfe
88ae1c0d0f
Update AdGuard default public DNS addresses (#162)
- Since September 2020, AdGuard public DNS servers have moved to new
  address. See here - https://adguard.com/en/blog/adguard-dns-new-addresses.html
2020-12-08 10:54:17 +01:00