Commit Graph

319 Commits

Author SHA1 Message Date
hwdsl2
bcccd9404e Update docs 2024-09-20 08:55:10 -05:00
hwdsl2
1cbae2309c Update to easy-rsa 3.2.1 2024-09-13 22:28:36 -05:00
hwdsl2
9dfdb4d344 Update docs 2024-08-06 21:42:38 -05:00
hwdsl2
d79c48eb0d Improve script input
- Add a new option "--listenaddr" for specifying the IPv4 address
  that OpenVPN should listen on for requests. This can be useful
  in certain cases. If not specified, the script tries to auto
  detect the IPv4 address OpenVPN should listen on.
- Other minor improvements
2024-08-06 21:33:00 -05:00
hwdsl2
e8094ba3c3 Update tests 2024-08-04 21:45:53 -05:00
hwdsl2
f171a21cdd Update docs 2024-08-04 21:38:23 -05:00
hwdsl2
4b302ebc52 Improve script input
- Users can now specify either a DNS name (FQDN) or an IPv4 address
  for the "--serveraddr" parameter.
- Fixed an issue when users specify a DNS name as the OpenVPN server
  address. Instead of using the provided DNS name as the OpenVPN
  "listen on" address, we should instead detect the server's local
  IPv4 address and use that. Otherwise, the OpenVPN server could
  fail to start in certain cases.
- Other minor improvements
2024-08-04 21:23:19 -05:00
hwdsl2
d7e17145d1 Update OS support
- Remove CentOS 7, which reached EOL on June 30, 2024.
2024-07-28 15:47:59 -05:00
hwdsl2
df2b3fd662 Update docs 2024-07-28 15:12:11 -05:00
hwdsl2
283b79c898 Add install options
- NEW: Users can now optionally specify install options when
  running the script to install OpenVPN. These new options include:
  '--serveraddr', '--proto', '--port', '--clientname',
  '--dns1' and '--dns2'. Refer to the usage information which
  will be added to the project documentation, or run the script
  with the '-h' option to view.
- Other minor improvements
2024-07-28 14:49:26 -05:00
hwdsl2
2977cd6fe6 Update docs 2024-06-23 17:14:33 -05:00
hwdsl2
52fea9dfbf Update docs 2024-06-23 14:58:49 -05:00
hwdsl2
e058f5e3d8 Add command line options
- Add support for command-line options for managing OpenVPN
  clients and removing OpenVPN.
2024-06-23 14:58:07 -05:00
hwdsl2
70ea744f66 Improve VPN script
- Refactor the script into Bash functions for improved organization
  and readability.
2024-06-22 17:18:09 -05:00
hwdsl2
3a004d20e2 Update tests 2024-06-16 23:51:01 -05:00
hwdsl2
f4b053d673 Improve VPN script
- Refactor the script into Bash functions for improved organization
  and readability.
2024-06-16 22:21:37 -05:00
hwdsl2
fafb5b9e49 Update OS support 2024-06-06 21:58:30 -05:00
hwdsl2
dd14343065 Update tests 2024-06-06 21:38:50 -05:00
hwdsl2
e8d9043e92 Update to easy-rsa 3.2.0 2024-06-06 21:34:09 -05:00
hwdsl2
5aa4937e31 Update docs 2024-04-17 20:36:03 -05:00
hwdsl2
ac38ff0c23 Update docs 2024-03-20 21:41:14 -05:00
hwdsl2
2e0291f573 Update tests 2024-02-03 23:30:33 -06:00
hwdsl2
353ae65a55 Update docs 2024-01-08 22:23:16 -06:00
hwdsl2
c9f12a48f6 Cleanup 2024-01-08 22:22:50 -06:00
hwdsl2
d75eb29e74 Update to easy-rsa 3.1.7 2023-10-19 23:56:33 -05:00
hwdsl2
77b87f41b2 Cleanup 2023-10-19 23:51:02 -05:00
hwdsl2
9c9ecae84e Update docs 2023-09-14 00:03:49 -05:00
hwdsl2
c9e37ddfac Update docs 2023-09-12 22:59:32 -05:00
hwdsl2
44b8cbacb0 Cleanup 2023-09-12 01:48:27 -05:00
hwdsl2
a9ae4090bb Update docs 2023-09-11 23:25:56 -05:00
hwdsl2
174408f479 Update tests 2023-09-11 22:59:17 -05:00
hwdsl2
a207d315f2 Add support for DNS names
- NEW: Add support for using DNS names (e.g. vpn.example.com) as
  the OpenVPN server's address. Users can now select this option
  during interactive install (sudo bash openvpn.sh).
- Example use case: With this new feature, when using a DNS name as
  the server address, users can take a snapshot of the server and
  restore it to a new server with a different IP, then update the
  DNS name to point to the new IP. After that, they can expect the
  VPN to continue to work.
2023-09-11 22:11:20 -05:00
hwdsl2
dca27f7d0e Update docs 2023-09-03 01:42:39 -05:00
hwdsl2
3e538a7110 Cleanup 2023-09-03 01:38:55 -05:00
hwdsl2
ee3c3dd3d8 Add support for openSUSE 2023-09-03 01:32:41 -05:00
hwdsl2
44aac272ac Update docs 2023-08-25 23:36:40 -05:00
hwdsl2
f89a394013 Update docs 2023-08-20 00:20:57 -05:00
hwdsl2
7b6104f3bc Update docs 2023-08-10 23:15:34 -05:00
hwdsl2
2537d32d96 Improve IPv6 handling
- When the server does not have a public IPv6 address, push the
  "block-ipv6" option to the client to help prevent IPv6 leaks
  on dual-stacked clients. This option is supported in OpenVPN
  client versions 2.5.x and newer.
  Ref: https://build.openvpn.net/man/openvpn-2.6/openvpn.8.html
- Closes #13. Thanks @do02fw for the suggestion.
2023-07-11 00:35:50 -05:00
hwdsl2
c3eb5b8344 Improve VPN ciphers
- Switch to the faster AES-128-GCM cipher and SHA256.
  Thanks @do02fw for the suggestion in #12.
2023-07-04 22:48:23 -05:00
hwdsl2
cf856186cd Update docs 2023-07-01 16:57:27 -05:00
hwdsl2
d0687a74b7 Update tests 2023-06-15 00:13:31 -05:00
hwdsl2
40b26321e7 Update to easy-rsa 3.1.5 2023-06-15 00:12:32 -05:00
hwdsl2
53c9a34b4b Update OS check 2023-06-15 00:11:56 -05:00
hwdsl2
96e081379a Update tests 2023-06-12 08:39:34 -05:00
hwdsl2
bb5ec3839e Update docs 2023-06-06 20:18:08 -05:00
hwdsl2
3667015a89 Update to easy-rsa 3.1.4 2023-05-25 22:52:40 -05:00
hwdsl2
ecfeff89f1 Update docs 2023-05-22 23:02:13 -05:00
hwdsl2
8e60af5fc2 Update OS check
- Update OS check to detect Amazon Linux 2023, which is not currently
  supported for use with this project.
2023-05-21 22:21:31 -05:00
hwdsl2
d186054e2e Update docs 2023-05-07 00:24:34 -05:00