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
gefragt vor 9 Monaten2474 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor 9 Monaten
profile pictureAWS
EXPERTE
überprüft vor 9 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen