# \[Feature request\] Amazon Linux 2023 support

**URL:** <https://forum.pritunl.com/t/feature-request-amazon-linux-2023-support/1519>\
**Category:** Pritunl VPN\
**Tags:** pritunl\
**Created:** [October 31, 2023, 3:38pm UTC](https://forum.pritunl.com/t/feature-request-amazon-linux-2023-support/1519 "2023-10-31T15:38:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/a/aeb1de/32.png) [@andy](https://forum.pritunl.com/u/andy)\
**Post date:** [October 31, 2023, 3:38pm UTC](https://forum.pritunl.com/t/feature-request-amazon-linux-2023-support/1519/1 "2023-10-31T15:38:40Z")

</div>

Currently it looks like only Amazon Linux 2 is supported which requires epel from fedora.

I’m unable to install Pritunl on Amazon Linux 2023 because it does not support epel. [Comparing AL2 and AL2023 - Amazon Linux 2023](https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html#epel)

Is it possible to add support for Amazon Linux 2023? Amazon Linux 2 support has been extended to June 2025, so this isn’t urgent.

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [November 1, 2023, 6:02am UTC](https://forum.pritunl.com/t/feature-request-amazon-linux-2023-support/1519/2 "2023-11-01T06:02:56Z")

</div>

An AmazonLinux 2023 build is now available in the unstable repository. This repository will provide `pritunl-openvpn` and `pkcs11-helper` to allow installing without the EPEL repository. Only MongoDB 7 is available on AmazonLinux 2023. All AmazonLinux Pritunl packages do not include SELinux policies. These polices improve the security of the Pritunl web server and are only available on RHEL distributions. AmazonLinux has SELinux disabled by default. Below are the installation commands.

```auto
sudo tee /etc/yum.repos.d/pritunl.repo << EOF
[pritunl]
name=Pritunl Repository
baseurl=https://repo.pritunl.com/unstable/yum/amazonlinux/2023/
gpgcheck=1
enabled=1
gpgkey=https://raw.githubusercontent.com/pritunl/pgp/master/pritunl_repo_pub.asc
EOF

sudo tee /etc/yum.repos.d/mongodb-org-7.0.repo << EOF
[mongodb-org-7.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/amazon/2023/mongodb-org/7.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-7.0.asc
EOF

sudo dnf -y install pritunl mongodb-org wireguard-tools
sudo systemctl enable mongod pritunl
sudo systemctl start mongod pritunl

```

---

<div class="post-metadata">

**Author:** ![andy](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/a/aeb1de/32.png) [@andy](https://forum.pritunl.com/u/andy)\
**Post date:** [November 2, 2023, 11:08pm UTC](https://forum.pritunl.com/t/feature-request-amazon-linux-2023-support/1519/3 "2023-11-02T23:08:45Z")

</div>

Oh cool! That’s good to know. Is there anywhere I can track the status of AL2023 becoming stable? And/or do you know what the timeline to stable might be?

From this page, it looks like Amazon Linux 2023 has SElinux enabled by default in permissive mode. [Setting SELinux modes for AL2023 - Amazon Linux 2023](https://docs.aws.amazon.com/linux/al2023/ug/selinux-modes.html)

MongoDB wont be a problem since I’ll be using our Atlas cluster on 6.0.11.

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [November 2, 2023, 11:28pm UTC](https://forum.pritunl.com/t/feature-request-amazon-linux-2023-support/1519/4 "2023-11-02T23:28:56Z")

</div>

I don’t have any planned date for when each package will move to stable, it shouldn’t be more than a week.

Permissive mode in SELinux is effectively disabled. Even if it were switched to enforcing the Pritunl SELinux policies are not included with the AmazonLinux package.

---

<div class="post-metadata">

**Author:** ![andy](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/a/aeb1de/32.png) [@andy](https://forum.pritunl.com/u/andy)\
**Post date:** [November 2, 2023, 11:37pm UTC](https://forum.pritunl.com/t/feature-request-amazon-linux-2023-support/1519/5 "2023-11-02T23:37:16Z")

</div>

I don’t know much about SELinux actually, is there a reason the policies can’t be included now that Amazon Linux 2023 ships with it?

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [November 3, 2023, 12:03am UTC](https://forum.pritunl.com/t/feature-request-amazon-linux-2023-support/1519/6 "2023-11-03T00:03:27Z")

</div>

It’s unlikely the same polices will work without any issues due to the significant changes between AmazonLinux and the upstream RHEL distribution. There isn’t a significant enough user base who will enable SELinux on AmazonLinux to justify adding it. It requires a lot of testing and SELinux errors can be difficult to debug which creates a lot of support emails.
