angristan / openvpn-install

Set up your own OpenVPN server on Debian, Ubuntu, Fedora, CentOS or Arch Linux.
https://stanislas.blog
MIT License
13.78k stars 2.98k forks source link

enable amazon-linux-2023 #1239

Closed gultz closed 2 months ago

gultz commented 3 months ago

Problem Description: The script needs to be modified to include support for the amazonlinux2023 configuration. Without this, users cannot utilize the script with the latest Amazon Linux settings.

Proposed Solution: Update the script to recognize and properly handle the amazonlinux2023 configuration. Since Amazon Linux 2023 is based on Fedora 34, 35, and 36, modify the script to install OpenVPN from the corresponding Fedora packages. I have verified that OpenVPN functions correctly when installed from these Fedora packages on Amazon Linux 2023. Additionally, Amazon Linux 2023 does not support Extra Packages for Enterprise Linux (EPEL), so the repository needs to be added manually.

Relationship to Fedora: https://docs.aws.amazon.com/linux/al2023/ug/relationship-to-fedora.html https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html

Linux Distribution and Version:

OpenVPN Version: