1
0
mirror of synced 2024-11-24 13:56:08 +03:00
Commit Graph

380 Commits

Author SHA1 Message Date
hwdsl2
7bd6872d43 New Libreswan version
- Support upgrading to Libreswan 5.1.
2024-10-14 21:53:50 -05:00
hwdsl2
9a625dba29 Update OS support
- Remove CentOS 7 and CentOS 8 Stream, which have reached EOL.
- Add Alpine Linux 3.20 and remove 3.18.
2024-07-28 17:52:03 -05:00
hwdsl2
b5d19d7f65 New Libreswan version
- Support upgrading to Libreswan 5.0.
2024-05-02 20:47:33 -05:00
hwdsl2
6f2efd3b59 New Libreswan version
- Use new Libreswan version 5.0.
  Ref: https://lists.libreswan.org/pipermail/swan-announce/2024/000058.html
2024-05-02 20:44:54 -05:00
hwdsl2
b58e65eb3c Add Ubuntu 24.04
- Add support for Ubuntu 24.04 LTS
  Ref: https://github.com/libreswan/libreswan/commit/46e9115
2024-04-27 11:03:58 -05:00
hwdsl2
ca8619476d New Libreswan version
- Support upgrading to Libreswan 4.15.
2024-04-17 20:43:02 -05:00
hwdsl2
bf0edf5627 Update OS support
- Cleanup. Ref: 1442e9f.
2024-04-14 14:21:03 -05:00
hwdsl2
1442e9f35c Update OS support
- Remove support for Ubuntu 18.04 and Debian 9, which reached EOL
  in June 2023 and July 2022, respectively.
- Cleanup
2024-04-14 11:31:33 -05:00
hwdsl2
25670f39e7 Update IKEv2 script
- Update client config file generation code due to a recent change
  on Ubuntu 20.04: The libnss3 package was recently updated to
  version 3.98 on Ubuntu 20.04, which requires these changes to the
  IKEv2 script.
  Ref: https://packages.ubuntu.com/focal/libnss3
2024-04-10 22:06:28 -05:00
hwdsl2
3b24405cdd New Libreswan version
- Support upgrading to Libreswan 4.14.
2024-03-16 11:52:16 -05:00
hwdsl2
198bd98fbb Update year 2024-02-03 15:31:58 -06:00
hwdsl2
5bb63dac28 Update Alpine Linux versions
- Add Alpine Linux 3.19 and remove 3.17.
2024-02-03 15:24:29 -06:00
hwdsl2
9268ad2e05 Update IKEv2 script
- Add a command line option "-y" (or "--yes") to assume "yes" as answer
  to prompts when revoking/deleting a client or removing IKEv2.
  Ref: #1499
2023-12-13 13:03:17 -06:00
hwdsl2
5a9402b75b Improve VPN ciphers
- Update VPN ciphers for compatibility with macOS 14 (Sonoma).
  Ref: #1486, libreswan/libreswan#1450
2023-12-09 23:39:07 -06:00
hwdsl2
8cbbe1cddd Cleanup
- Remove quickstart.sh, which was removed from project
  documentation in March 2022, and no longer in use.
2023-11-06 22:14:05 -06:00
hwdsl2
c8bb2bc36c New Libreswan version
- Support upgrading to Libreswan 4.12.
2023-08-11 00:08:25 -05:00
hwdsl2
16f5a1d81f Update Alpine Linux versions
- Add Alpine Linux 3.18 and remove 3.16.
2023-08-10 23:33:06 -05:00
hwdsl2
e79e64174c Update OS check 2023-06-14 23:52:54 -05:00
hwdsl2
4c5f4e8327 Update OS check
- Update OS check to detect Amazon Linux 2023, which is not currently
  supported for use with this project.
  Ref: #1388
2023-05-21 22:19:30 -05:00
hwdsl2
efcfbe8da3 New Libreswan version
- Support upgrading to Libreswan 4.11.
2023-05-05 00:07:07 -05:00
hwdsl2
2039f91151 New libnss3 version
- Use new version of libnss3 for Ubuntu 18.04 NSS fix.
2023-03-01 21:26:04 -06:00
hwdsl2
1a79a5cfce New Libreswan version
- Support upgrading to Libreswan 4.10.
2023-03-01 08:55:12 -06:00
hwdsl2
3f12b9583b Update Alpine Linux versions
- Add Alpine Linux 3.17 and remove 3.15.
2023-02-11 23:08:37 -06:00
hwdsl2
dc32e28f47 Cleanup 2023-01-13 00:36:49 -06:00
hwdsl2
c356a75bca Update docs 2023-01-04 18:58:29 -06:00
hwdsl2
fec1b7c7a2 Update IKEv2 script
- Improve MOBIKE detection by checking whether the IKEv2 connection
  is successfully loaded. If not, the server's Linux kernel may not
  support MOBIKE, and we disable it in ikev2.conf.
- This will help prevent the issue where the IKEv2 connection fails
  to load on some systems due to lack of MOBIKE support. Note that
  the script already has checks for MOBIKE support that cover common
  cases.
- Related issues:
  https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/330
  https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/298
  https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/247
2022-12-01 21:45:57 -06:00
hwdsl2
fad9e0d34d Update IKEv2 setup log
- When using the IKEv2 change server address script on Docker,
  update the IKEv2 setup log with the new server address, so that
  it can be displayed in the container logs after a restart.
2022-12-01 21:25:41 -06:00
hwdsl2
edd05df89c Update IKEv2 script
- Improve the optional VPN On Demand feature on macOS and iOS.
  Connect only on WiFi networks (instead of any network), with
  captive portal detection. This is the most common use case.
2022-10-30 15:45:11 -05:00
hwdsl2
4f8a19d337 Update OS check
- Add a check for Ubuntu 18.04 on architectures other than x86_64,
  which is not supported by the VPN scripts for Libreswan 4.9.
2022-10-24 18:50:51 -05:00
hwdsl2
2bd37ccf66 Cleanup
- Save a redirect and make VPN setup slightly faster by using
  raw.githubusercontent.com directly instead of
  https://github.com/hwdsl2/setup-ipsec-vpn/raw/...
2022-10-23 14:05:57 -05:00
hwdsl2
4174ffa3ef Improve VPN setup
- Improve download of VPN helper scripts during setup.
  Note: https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/extras/...
  redirects to
  https://raw.githubusercontent.com/hwdsl2/setup-ipsec-vpn/master/extras/...
  Use the latter directly so that Wget can reuse the same connection
  for all 3 helper scripts.
- For Ubuntu 18.04, improve download of NSS packages and add fallback URLs.
2022-10-22 23:55:06 -05:00
hwdsl2
780f815540 Improve VPN setup
- For Ubuntu 18.04, download NSS packages from GitHub for improved
  reliability.
- Check and skip installing NSS packages if already installed.
2022-10-21 23:37:47 -05:00
hwdsl2
d1da04b1d4 New Libreswan version
- Support upgrading to Libreswan 4.9.
- Compilation of Libreswan 4.9 on Ubuntu 18.04 requires newer
  versions of NSS packages. They are installed in a similar way
  as apply_ubuntu1804_nss_fix in ikev2setup.sh.
  Ref: https://github.com/libreswan/libreswan/issues/892
2022-10-21 00:11:15 -05:00
hwdsl2
fef608a91a Update IKEv2 script
- Cleanup
2022-10-19 00:31:52 -05:00
hwdsl2
3dc675ba37 Add client validity option
- For IKEv2 mode, add a new variable VPN_CLIENT_VALIDITY for specifying
  the client certificate validity period (in months). Must be an integer
  between 1 and 120. Default value is 120. Users can define it as an
  environment variable when setting up IKEv2 in auto mode, or when
  adding a new IKEv2 client using "--addclient".
2022-10-16 00:45:45 -05:00
hwdsl2
bd291e91a1 Cleanup 2022-10-07 00:19:00 -05:00
hwdsl2
6e596825e2 Improve VPN ciphers
- Improve security by removing support for modp1536 (DH group 5),
  which is less secure and rarely used by VPN clients. To do this,
  we specify modp2048 on the "ike=" line in ipsec.conf.
2022-09-30 01:11:18 -05:00
hwdsl2
025387df91 Improve VPN ciphers
- Improve security by removing support for modp1024 (DH group 2),
  which is less secure and no longer enabled in Libreswan by default.
- The native VPN client on Android devices uses modp1024 for the
  IPsec/L2TP and IPsec/XAuth ("Cisco IPsec") modes. After this change,
  Android users should instead connect using IKEv2 mode (recommended).
2022-09-29 22:52:40 -05:00
hwdsl2
c87dfdb0d8 Improve VPN setup
- When uninstalling the VPN, remove the two TCP BBR related lines
  from /etc/sysctl.conf, if they were added during VPN setup.
2022-09-25 10:43:15 -05:00
hwdsl2
cc99e18123 Cleanup 2022-09-24 18:56:27 -05:00
hwdsl2
32faed40d5 Improve IP check
- Instead of finding the server's public IP, use the IP address
  on the default route if it is not a private IP. This makes VPN
  setup slightly faster by skipping IP detection.
- Add a fallback URL for finding the server's public IP.
- Cleanup
2022-09-24 00:58:16 -05:00
hwdsl2
8912e6ec8e Update IKEv2 script
- Cleanup
2022-09-11 00:17:26 -05:00
hwdsl2
098a6b4e5d Update IKEv2 script
- When revoking or deleting an existing client, remove previously
  generated client config files for the client.
- Cleanup
2022-09-09 23:03:07 -05:00
hwdsl2
d2e9b5ff91 Cleanup 2022-08-27 21:51:19 -05:00
hwdsl2
56078b0a1e Add an option to skip IKEv2 setup
- Add an option to skip IKEv2 setup when installing the IPsec VPN.
  Example: sudo VPN_SKIP_IKEV2=yes sh vpn.sh
- This allows users to set up an IKEv1-only VPN, or install IKEv2
  interactively using "sudo ikev2.sh" after VPN setup.
2022-08-27 15:59:43 -05:00
hwdsl2
6a872207f4 Update IKEv2 script
- Add a note about changing IKEv2 server address.
2022-08-11 00:02:42 -05:00
hwdsl2
4995ec03f5 Improve OS support
- Make the VPN setup scripts work on Kali Linux (based on Debian).
- Update IKEv2 helper script to check for OpenSSL 3 first when
  exporting the .p12 file.
2022-08-10 23:25:58 -05:00
hwdsl2
e2f211c678 Improve OS detection
- Improve OS detection and clean up
2022-08-10 22:41:55 -05:00
hwdsl2
1dbf897500 Cleanup
- Fix OS checking: Don't show errors for /etc/redhat-release.
- Fixes #1211.
2022-08-09 19:34:32 -05:00
hwdsl2
200da23776 Add Oracle Linux 9 2022-07-30 09:31:27 -05:00