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
asked 8 months ago2323 views
1 Answer
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
EXPERT
answered 8 months ago
profile pictureAWS
EXPERT
reviewed 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions