Commit Graph

59 Commits

Author SHA1 Message Date
hwdsl2
d9e121e0f0 Add support for CentOS 9
- Merge upstream change Nyr/wireguard-install commit 5c53ebd,
  with enhancements.
- Add support for version 9 of CentOS Stream, AlmaLinux and
  Rocky Linux.
2022-08-21 22:58:20 -05:00
hwdsl2
505958b307 Fix resolv.conf detection
- Apply upstream change Nyr/wireguard-install commit 98f45f8.
- Some systems have other DNS servers along with 127.0.0.53 in /etc/resolv.conf.
2022-08-21 22:46:55 -05:00
hwdsl2
0e00b824c1 Update docs 2022-07-13 22:07:44 -05:00
hwdsl2
bc7c9d135e Update README 2022-06-20 11:16:53 -05:00
hwdsl2
8d8c9a7f13 Update nftables check
- The check for nftables is only needed during initial install.
2022-06-04 23:29:31 -05:00
hwdsl2
2d8182dc02 Update README 2022-06-04 22:48:42 -05:00
hwdsl2
19f8ea3f38 Update README 2022-06-03 08:29:35 -05:00
hwdsl2
0443468ccb Update README 2022-06-02 09:09:51 -05:00
hwdsl2
b84fd70d86 Improve script reliability
- Retry 'apt-get update' and exit on package install errors.
2022-06-02 08:58:37 -05:00
hwdsl2
a9c4005b82 Update README 2022-05-28 15:19:10 -05:00
hwdsl2
d4efa1f06e Improve script output
- Improve script output to only show useful information to the user
  and hide unneeded output.
2022-05-28 00:43:07 -05:00
hwdsl2
2077a5c9fb Cleanup 2022-05-27 15:57:52 -05:00
hwdsl2
4f45fcdf0a Update README 2022-05-27 11:05:16 -05:00
hwdsl2
1704a4510d Update README 2022-05-25 22:56:33 -05:00
hwdsl2
5c9b6626a9 Update README 2022-05-24 08:39:32 -05:00
hwdsl2
647de1d218 Remove container support
- Remove container support from the installer. This is not needed in
  common use cases and involved downloading a BoringTun binary.
2022-05-22 22:48:49 -05:00
hwdsl2
8517a098b5 Update nftables check 2022-05-22 22:31:04 -05:00
hwdsl2
ab12b307a0 Update README 2022-05-21 22:46:20 -05:00
hwdsl2
84afb63604 Add README-zh.md 2022-05-21 22:10:28 -05:00
hwdsl2
4a2de00c3c Update README 2022-05-21 20:17:02 -05:00
hwdsl2
7519c48b3f Cleanup 2022-05-21 13:08:37 -05:00
hwdsl2
f88ea691d1 Update README 2022-05-20 19:00:23 -05:00
hwdsl2
f75a9210b9 Improve script output
- Improve script output to only show useful information to the user
  and hide unneeded output.
2022-05-20 08:47:41 -05:00
hwdsl2
821afa6253 Update README 2022-05-20 08:36:48 -05:00
hwdsl2
1177a3b045 Update license 2022-05-20 00:16:15 -05:00
hwdsl2
b79880f219 Add check for nftables 2022-05-19 23:59:26 -05:00
hwdsl2
a209594d6f Remove clear screen 2022-05-19 23:58:16 -05:00
hwdsl2
d11f8ccd03 Update license header 2022-05-19 23:51:41 -05:00
Nyr
cf06d39805 Restore git.io
git.io will not stop functioning after all:
https://github.blog/changelog/2022-04-25-git-io-deprecation/?#changelog-64536
2022-04-29 16:46:00 +02:00
Nyr
c141e163e8 Replace git.io
git.io will stop functioning by the end of this workweek:
https://github.blog/changelog/2022-04-25-git-io-deprecation/
2022-04-27 12:38:41 +02:00
Nyr
0e06513eb5
Merge pull request #73 from IRN-Kawakaze/Fix-Remove-an-existing-client
Fix the client removal regex.
2022-03-12 13:38:38 +01:00
IRN-Kawakaze
2a6df4daf0 Fix: Remove an existing client.
"Remove an existing client" may mistakenly remove multiple clients.
For example: remove client "test" will also remove client "test1".
2022-01-30 17:35:57 +08:00
Nyr
f2f0d3d3ac Fix boringtun path
/usr/local/sbin is not included in the cron $PATH, so the absolute path needs to be used when running the boringtun binary.
2021-11-24 18:01:34 +01:00
Nyr
92d4914c8e Update README.md 2021-09-03 18:58:34 +02:00
Nyr
3dfcebc225 Fix boringtun-upgrade test 2021-09-03 17:37:05 +02:00
Nyr
b0ccd4d0bc Add support for AlmaLinux and Rocky Linux
An unrelated fix to avoid one harmless warning during removal is also included.
2021-09-03 17:31:07 +02:00
Nyr
9210290c19 Add support for Debian 11 2021-09-03 12:04:22 +02:00
Nyr
2a065111b1 Check for wget or curl
Fix #37
2021-08-16 20:22:06 +02:00
Nyr
514a93411f Increase priority of wireguard-forward.conf
Bugfix for some third party images. More information here:
https://github.com/Nyr/openvpn-install/issues/848

Thanks @trivvz
2021-06-19 14:00:12 +02:00
Nyr
70e28bcc1a
Merge pull request #21 from trantuanminh1754/patch-1
Update AdGuard DNS IP
2020-09-30 00:02:22 +02:00
trantuanminh1754
c2248950b6
Update AdGuard DNS IP
AdGuard changed their DNS IP recently: https://adguard.com/en/blog/adguard-dns-new-addresses.html
2020-09-29 17:37:52 -04:00
Nyr
8a55761005 Use official Ubuntu packages
The PPA is no longer needed to set up WireGuard in Ubuntu 18.04:
https://lists.zx2c4.com/pipermail/wireguard/2020-August/005737.html
2020-09-02 12:45:40 +02:00
Nyr
3fb598f794 Fix #10
-N is an illegal option for read in sh.
2020-07-18 18:47:49 +02:00
Nyr
03cf6ddf2e resolv.conf parsing optimizations 2020-05-29 14:16:10 +02:00
Nyr
42bee2ae2f egrep IP regex optimizations
Thanks @sorcun
2020-05-29 14:15:39 +02:00
Nyr
3a2ba591ba Bugfix
Variables which can be empty, shouldn't be quoted in this situation.
2020-05-25 17:25:50 +02:00
Nyr
aa04ca5dcf Add Quad9 DNS servers 2020-05-21 22:36:47 +02:00
Nyr
962862c332 Small style changes 2020-05-21 19:18:29 +02:00
Nyr
a6426a138e Improve client configuration annexation
The old approach did break BoringTun due to a bug (in BoringTun).
2020-05-21 15:04:54 +02:00
Nyr
6669ffab32 Grammar improvements 2020-05-20 23:36:47 +02:00