unable to install openswan amzon linux 2023

0

unable to install openswan amzon linux 2023. i have been tryping to practice site to site vpn connection lab. cant install openswan.please guide

Mir
已提问 9 个月前2456 查看次数
1 回答
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
profile picture
专家
已回答 9 个月前
profile pictureAWS
专家
已审核 9 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则