1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
The default repository for Amazon Linux 2023 does not include openswan.
Also, openswan is already a non-maintained package and should not be used even if available.
https://docs.aws.amazon.com/linux/al2023/release-notes/all-packages-AL2023.1.html
It is recommended to use libreswan, which is created by a fork of openswan.
To install libreswan, please add the fedora repository with the following command.
sudo vi /etc/yum.repos.d/fedora.repo
The repositories to be added are as follows.
[fedora] name=Fedora 36 - $basearch #baseurl=http://download.example/pub/fedora/linux/releases/36/Everything/$basearch/os/ metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-36&arch=$basearch enabled=0 countme=1 metadata_expire=7d repo_gpgcheck=0 type=rpm gpgcheck=1 gpgkey=https://getfedora.org/static/fedora.gpg skip_if_unavailable=False
Once added, execute the following command.
sudo dnf --enablerepo=fedora install libreswan
Relevant content
- asked 8 months ago
- asked 4 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago