hwdsl2
ff40c115d1
Improve user input
...
- On servers with multiple IPv4 addresses, check if one of them
matches the server's public IP. If so, select that IP and skip
the IP selection question.
- If the server is behind NAT, try to find its public IP and
ask the user only if the IP cannot be found.
- Cleanup
2022-09-20 01:28:42 -05:00
hwdsl2
01f32b74a3
Update docs
2022-09-20 00:10:54 -05:00
hwdsl2
ef33b06a44
Improve client DNS
...
- Allow specifying custom DNS server(s) for VPN clients.
- Use Google Public DNS as the default option.
- Cleanup
2022-09-20 00:06:09 -05:00
hwdsl2
f36ae201b4
Update docs
2022-09-19 21:41:25 -05:00
hwdsl2
f4f7119ae6
Cleanup
2022-09-19 21:40:46 -05:00
hwdsl2
6cbbca398a
Improve client revocation
...
- When revoking a client, remove previously generated client config
file for the client.
- Cleanup
2022-09-10 00:11:04 -05:00
hwdsl2
efbe7739d3
Improve setup
...
- When uninstalling the VPN, disable IP forwarding.
2022-09-09 08:53:03 -05:00
hwdsl2
401edc5bde
Optimize sysctl settings
...
- Improve VPN performance by optimizing sysctl settings, such as tuning
TCP buffer sizes and enabling the TCP BBR congestion control algorithm
on supported systems (kernel versions 4.20 and newer).
- References:
https://cloud.google.com/blog/products/networking/tcp-bbr-congestion-control-comes-to-gcp-your-internet-just-got-faster
https://github.com/google/bbr/blob/master/Documentation/bbr-quick-start.md
https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/bbr.md
2022-09-08 23:33:56 -05:00
hwdsl2
fb7de43826
Improve user input
...
- When adding, exporting or revoking a client, abort and exit if
the user enters an empty client name or client number.
2022-09-02 23:39:09 -05:00
hwdsl2
3994091cb5
Add client export option
...
- Add an option to export configuration for an existing client.
2022-09-02 23:24:10 -05:00
hwdsl2
e58d72b585
Improve client config
...
- When running the script using "sudo", export client configuration
to the user's home directory instead of /root.
2022-09-02 22:27:39 -05:00
hwdsl2
b5c530a0c5
Update README
2022-09-02 22:00:01 -05:00
hwdsl2
f169c6a1f8
Add Amazon Linux 2
...
- Add support for Amazon Linux 2.
2022-09-02 21:54:59 -05:00
hwdsl2
97635f7cb6
Fix resolv.conf detection
...
- Apply upstream change Nyr/openvpn-install commit d28c8e7.
- Some systems have other DNS servers along with 127.0.0.53 in /etc/resolv.conf.
2022-08-21 22:29:43 -05:00
hwdsl2
56c3d97661
Update docs
2022-07-13 22:06:29 -05:00
hwdsl2
da0e2ef4ad
Update README
2022-06-20 11:17:05 -05:00
hwdsl2
661cafe8fc
Update nftables check
...
- The check for nftables is only needed during initial install.
2022-06-04 23:32:42 -05:00
hwdsl2
01576e1ad6
Update README
2022-06-04 22:45:03 -05:00
hwdsl2
1f0528413b
Update README
2022-06-03 08:29:43 -05:00
hwdsl2
54d6596882
Update README
2022-06-02 09:09:14 -05:00
hwdsl2
428249ff10
Improve script reliability
...
- Retry 'apt-get update' and exit on package install errors.
2022-06-02 08:59:59 -05:00
hwdsl2
9d82fad3ca
Update README
2022-05-28 15:17:34 -05:00
hwdsl2
5148690a82
Improve script output
...
- Improve script output to only show useful information to the user
and hide unneeded output.
2022-05-28 00:42:12 -05:00
hwdsl2
130f51b0d0
Cleanup
2022-05-27 15:52:45 -05:00
hwdsl2
70d7e7be32
Update README
2022-05-27 11:11:24 -05:00
hwdsl2
e872be12dc
Update README
2022-05-25 23:08:17 -05:00
hwdsl2
8e16f5bbe4
Update README
2022-05-24 08:39:21 -05:00
hwdsl2
19750a5430
Update nftables check
2022-05-22 22:30:32 -05:00
hwdsl2
cec64b77ca
Update README
2022-05-21 22:53:14 -05:00
hwdsl2
07bb40000e
Add README-zh.md
2022-05-21 22:10:41 -05:00
hwdsl2
7b7a33956b
Update README
2022-05-21 20:16:43 -05:00
hwdsl2
923802d116
Cleanup
2022-05-21 13:08:10 -05:00
hwdsl2
9e337c4d24
Update README
2022-05-20 19:00:35 -05:00
hwdsl2
7c44e0b694
Improve script output
2022-05-20 18:12:37 -05:00
hwdsl2
2bf4d5e33a
Improve script output
...
- Improve script output to only show useful information to the user
and hide unneeded output.
2022-05-20 08:43:39 -05:00
hwdsl2
97badd5652
Update README
2022-05-20 08:36:14 -05:00
hwdsl2
1ed62740db
Update license
2022-05-20 00:15:57 -05:00
hwdsl2
2fbdbde3ab
Add check for nftables
2022-05-19 23:57:26 -05:00
hwdsl2
ddd59ec95e
Remove clear screen
2022-05-19 23:56:19 -05:00
hwdsl2
5f18c2dbd7
Update license header
2022-05-19 23:52:20 -05:00
Nyr
c0a3562f64
Update to easy-rsa v3.1.0
2022-05-19 17:59:35 +02:00
Nyr
2c5bb08f4e
Update to easy-rsa v3.0.9
2022-05-18 15:16:11 +02:00
Nyr
0709b9498c
Update easy-rsa to v3.0.9-rc1 for Ubuntu 22.04
2022-05-05 11:44:36 +02:00
Nyr
a7474c95ca
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:44:49 +02:00
Nyr
36f1d82cba
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:37:53 +02:00
Nyr
8b6c81f79e
Ubuntu 22.04 support
2022-04-21 21:11:44 +02:00
Nyr
94c94bbbc9
Add support for AlmaLinux and Rocky Linux
...
An unrelated fix to avoid one harmless warning during removal is also included.
2021-09-03 18:58:25 +02:00
Nyr
2cce4599e2
Check for wget or curl
2021-08-16 20:22:36 +02:00
Nyr
4f737ac2f8
Merge pull request #849 from trivvz/patch-1
...
Increase priority of openvpn-forward.conf
2021-06-19 13:54:25 +02:00
Tomasz Wojdat
01b64d65c8
Increase priority of openvpn-forward.conf
...
`30-openvpn-forward.conf` renamed to `99-openvpn-forward.conf`.
2021-03-11 22:49:04 +01:00