How To Install strongswan on CentOS 8

strongswan is An OpenSource IPsec-based VPN and TNC solution

Introduction

In this tutorial we learn how to install strongswan on CentOS 8.

What is strongswan

The strongSwan IPsec implementation supports both the IKEv1 and IKEv2 key exchange protocols in conjunction with the native NETKEY IPsec stack of the Linux kernel.

We can use yum or dnf to install strongswan on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install strongswan.

Install strongswan on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install strongswan using dnf by running the following command:

sudo dnf -y install strongswan

Install strongswan on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install strongswan using yum by running the following command:

sudo yum -y install strongswan

How To Uninstall strongswan on CentOS 8

To uninstall only the strongswan package we can use the following command:

sudo dnf remove strongswan

strongswan Package Contents on CentOS 8

/etc/strongswan
/etc/strongswan/ipsec.conf
/etc/strongswan/ipsec.d
/etc/strongswan/ipsec.d/aacerts
/etc/strongswan/ipsec.d/acerts
/etc/strongswan/ipsec.d/cacerts
/etc/strongswan/ipsec.d/certs
/etc/strongswan/ipsec.d/crls
/etc/strongswan/ipsec.d/ocspcerts
/etc/strongswan/ipsec.d/private
/etc/strongswan/ipsec.d/reqs
/etc/strongswan/ipsec.secrets
/etc/strongswan/strongswan.conf
/etc/strongswan/strongswan.d
/etc/strongswan/strongswan.d/aikgen.conf
/etc/strongswan/strongswan.d/attest.conf
/etc/strongswan/strongswan.d/charon
/etc/strongswan/strongswan.d/charon-logging.conf
/etc/strongswan/strongswan.d/charon-systemd.conf
/etc/strongswan/strongswan.d/charon.conf
/etc/strongswan/strongswan.d/charon/acert.conf
/etc/strongswan/strongswan.d/charon/aes.conf
/etc/strongswan/strongswan.d/charon/aesni.conf
/etc/strongswan/strongswan.d/charon/attr.conf
/etc/strongswan/strongswan.d/charon/bypass-lan.conf
/etc/strongswan/strongswan.d/charon/ccm.conf
/etc/strongswan/strongswan.d/charon/chapoly.conf
/etc/strongswan/strongswan.d/charon/cmac.conf
/etc/strongswan/strongswan.d/charon/constraints.conf
/etc/strongswan/strongswan.d/charon/counters.conf
/etc/strongswan/strongswan.d/charon/ctr.conf
/etc/strongswan/strongswan.d/charon/curl.conf
/etc/strongswan/strongswan.d/charon/curve25519.conf
/etc/strongswan/strongswan.d/charon/des.conf
/etc/strongswan/strongswan.d/charon/dhcp.conf
/etc/strongswan/strongswan.d/charon/dnskey.conf
/etc/strongswan/strongswan.d/charon/drbg.conf
/etc/strongswan/strongswan.d/charon/duplicheck.conf
/etc/strongswan/strongswan.d/charon/eap-aka-3gpp.conf
/etc/strongswan/strongswan.d/charon/eap-aka-3gpp2.conf
/etc/strongswan/strongswan.d/charon/eap-aka.conf
/etc/strongswan/strongswan.d/charon/eap-dynamic.conf
/etc/strongswan/strongswan.d/charon/eap-gtc.conf
/etc/strongswan/strongswan.d/charon/eap-identity.conf
/etc/strongswan/strongswan.d/charon/eap-md5.conf
/etc/strongswan/strongswan.d/charon/eap-mschapv2.conf
/etc/strongswan/strongswan.d/charon/eap-peap.conf
/etc/strongswan/strongswan.d/charon/eap-radius.conf
/etc/strongswan/strongswan.d/charon/eap-sim-file.conf
/etc/strongswan/strongswan.d/charon/eap-sim.conf
/etc/strongswan/strongswan.d/charon/eap-tls.conf
/etc/strongswan/strongswan.d/charon/eap-tnc.conf
/etc/strongswan/strongswan.d/charon/eap-ttls.conf
/etc/strongswan/strongswan.d/charon/ext-auth.conf
/etc/strongswan/strongswan.d/charon/farp.conf
/etc/strongswan/strongswan.d/charon/fips-prf.conf
/etc/strongswan/strongswan.d/charon/gcm.conf
/etc/strongswan/strongswan.d/charon/gcrypt.conf
/etc/strongswan/strongswan.d/charon/gmp.conf
/etc/strongswan/strongswan.d/charon/ha.conf
/etc/strongswan/strongswan.d/charon/hmac.conf
/etc/strongswan/strongswan.d/charon/ipseckey.conf
/etc/strongswan/strongswan.d/charon/kernel-libipsec.conf
/etc/strongswan/strongswan.d/charon/kernel-netlink.conf
/etc/strongswan/strongswan.d/charon/led.conf
/etc/strongswan/strongswan.d/charon/md4.conf
/etc/strongswan/strongswan.d/charon/md5.conf
/etc/strongswan/strongswan.d/charon/mgf1.conf
/etc/strongswan/strongswan.d/charon/newhope.conf
/etc/strongswan/strongswan.d/charon/nonce.conf
/etc/strongswan/strongswan.d/charon/openssl.conf
/etc/strongswan/strongswan.d/charon/pem.conf
/etc/strongswan/strongswan.d/charon/pgp.conf
/etc/strongswan/strongswan.d/charon/pkcs1.conf
/etc/strongswan/strongswan.d/charon/pkcs11.conf
/etc/strongswan/strongswan.d/charon/pkcs12.conf
/etc/strongswan/strongswan.d/charon/pkcs7.conf
/etc/strongswan/strongswan.d/charon/pkcs8.conf
/etc/strongswan/strongswan.d/charon/pubkey.conf
/etc/strongswan/strongswan.d/charon/random.conf
/etc/strongswan/strongswan.d/charon/rc2.conf
/etc/strongswan/strongswan.d/charon/resolve.conf
/etc/strongswan/strongswan.d/charon/revocation.conf
/etc/strongswan/strongswan.d/charon/sha1.conf
/etc/strongswan/strongswan.d/charon/sha2.conf
/etc/strongswan/strongswan.d/charon/socket-default.conf
/etc/strongswan/strongswan.d/charon/sql.conf
/etc/strongswan/strongswan.d/charon/sqlite.conf
/etc/strongswan/strongswan.d/charon/sshkey.conf
/etc/strongswan/strongswan.d/charon/stroke.conf
/etc/strongswan/strongswan.d/charon/tnc-ifmap.conf
/etc/strongswan/strongswan.d/charon/tnc-imc.conf
/etc/strongswan/strongswan.d/charon/tnc-imv.conf
/etc/strongswan/strongswan.d/charon/tnc-pdp.conf
/etc/strongswan/strongswan.d/charon/tnc-tnccs.conf
/etc/strongswan/strongswan.d/charon/tnccs-11.conf
/etc/strongswan/strongswan.d/charon/tnccs-20.conf
/etc/strongswan/strongswan.d/charon/tnccs-dynamic.conf
/etc/strongswan/strongswan.d/charon/tpm.conf
/etc/strongswan/strongswan.d/charon/unity.conf
/etc/strongswan/strongswan.d/charon/updown.conf
/etc/strongswan/strongswan.d/charon/vici.conf
/etc/strongswan/strongswan.d/charon/x509.conf
/etc/strongswan/strongswan.d/charon/xauth-eap.conf
/etc/strongswan/strongswan.d/charon/xauth-generic.conf
/etc/strongswan/strongswan.d/charon/xauth-noauth.conf
/etc/strongswan/strongswan.d/charon/xauth-pam.conf
/etc/strongswan/strongswan.d/charon/xcbc.conf
/etc/strongswan/strongswan.d/imcv.conf
/etc/strongswan/strongswan.d/pki.conf
/etc/strongswan/strongswan.d/scepclient.conf
/etc/strongswan/strongswan.d/sec-updater.conf
/etc/strongswan/strongswan.d/starter.conf
/etc/strongswan/strongswan.d/swanctl.conf
/etc/strongswan/strongswan.d/tnc.conf
/etc/strongswan/swanctl
/etc/strongswan/swanctl/bliss
/etc/strongswan/swanctl/conf.d
/etc/strongswan/swanctl/ecdsa
/etc/strongswan/swanctl/pkcs12
/etc/strongswan/swanctl/pkcs8
/etc/strongswan/swanctl/private
/etc/strongswan/swanctl/pubkey
/etc/strongswan/swanctl/rsa
/etc/strongswan/swanctl/swanctl.conf
/etc/strongswan/swanctl/x509
/etc/strongswan/swanctl/x509aa
/etc/strongswan/swanctl/x509ac
/etc/strongswan/swanctl/x509ca
/etc/strongswan/swanctl/x509crl
/etc/strongswan/swanctl/x509ocsp
/run/strongswan
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/31e18e70b6efd06085c66f54a14789feb2cc4e
/usr/lib/.build-id/00/6366aaf9ec1029da7a43732fec495cc32cd527
/usr/lib/.build-id/02
/usr/lib/.build-id/02/512214bca5a3efdb2505d38cdc26dbf34034bb
/usr/lib/.build-id/07
/usr/lib/.build-id/07/ad9e0ca9e269ffcbaedb335de7db5536c7aaca
/usr/lib/.build-id/07/ccd7764fb7675e737dbbfb00c39caa70aba55b
/usr/lib/.build-id/08
/usr/lib/.build-id/08/8a4d65c881bb5d36b214def40bbdfc734506a4
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/dd0209dd558e9c9dd1e460fad9cb19837c61ab
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/06872ee8092a45b399b35c5ef11cf3be9111df
/usr/lib/.build-id/0e/57e9677c176ce83ccdcf2a831546becf36bd73
/usr/lib/.build-id/0e/7ccbec2d1bd903398f2e73b73934ee8a70291b
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/2ab6e97f6b7d287ed29778cb77e05cb0a3876e
/usr/lib/.build-id/0f/367b64559790dbc583802eb5ef0c4a027c3edc
/usr/lib/.build-id/11
/usr/lib/.build-id/11/f137af2e5bb1afeb3db323775171f5be1d8736
/usr/lib/.build-id/12
/usr/lib/.build-id/12/78d6432f3ec5770012336ef24f1926789979bc
/usr/lib/.build-id/12/fb92ee04fa4bb02d6111e23503030d4dfdea63
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/8a7e699b2bbd26e22c880ebb007f5c68c4d0c2
/usr/lib/.build-id/1e/bcf797873792e7d54cd647f0437dd841eff462
/usr/lib/.build-id/20
/usr/lib/.build-id/20/9215adbb95ecb34c72723e8ca9ce0a8b9817c1
/usr/lib/.build-id/27
/usr/lib/.build-id/27/d0c3f3b351686132c118d7d138cfd22dd44929
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/e49e717d5aaf77a1c24d169682132bb0f43302
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/42a14d49494cd5392decc23d9c9e76875dfdef
/usr/lib/.build-id/2d/bd01b0abf90852097e8bfc59027444fe99a6bf
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/d251c3475d40b1f96f6232378dbb8a0904117b
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/57c78b537075b1c069aa31bbf376cc58aa135e
/usr/lib/.build-id/33
/usr/lib/.build-id/33/38f825c88ac112070107e15fdc503f0b40a276
/usr/lib/.build-id/33/a440e4ccd5320a2b9a59a659fc096ab6c3cc59
/usr/lib/.build-id/34
/usr/lib/.build-id/34/febf5382b8bf92edb1152e0c22f7f456cbcc10
/usr/lib/.build-id/39
/usr/lib/.build-id/39/a7581357a3e821a1dcb9b14e7f4bdef021b09b
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/a9c73331e330e463def3ee9c1ec03470a273b6
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/4ac32a709832f2541121d6ede3e2e89d8941ae
/usr/lib/.build-id/3c/930d431ebc728ab97f8e2b46fa1a6d35625d3b
/usr/lib/.build-id/44
/usr/lib/.build-id/44/2ea42d5b4c287a188a17220ed890e7fee0c8c8
/usr/lib/.build-id/44/8f17bdcd7b7af5442945b6dd26a173e7563b04
/usr/lib/.build-id/48
/usr/lib/.build-id/48/7d267fa39c3986c81aee01e749db071a7560d2
/usr/lib/.build-id/48/f2218423c56e77db2627998e5c0fcbc6addb81
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/6489b4d3641134e99b39a61d00739ac906f693
/usr/lib/.build-id/4a/79f3273e0a5c277ca75f9287e095a703d41d26
/usr/lib/.build-id/4a/9d51289352fdf227bfadf4e53896e84c82607f
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/4ade20533c84b523721219b2fd8ff627cd0dd6
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/af593c41d0e67b7429ad43d84bfa2fb0d0647f
/usr/lib/.build-id/51
/usr/lib/.build-id/51/9c8197d01d07789719d65d093db306e8c1e9e9
/usr/lib/.build-id/51/dcc73b2ff9b53f07791b55133ea9807fef5220
/usr/lib/.build-id/54
/usr/lib/.build-id/54/f68aa2c36c898acf4084abc23ca80535679e90
/usr/lib/.build-id/55
/usr/lib/.build-id/55/6280a2e96754ccbe2b9dfbeb74a975a0c81b7e
/usr/lib/.build-id/56
/usr/lib/.build-id/56/c79e239aac4216ac7ead88f2b79bfedde1375c
/usr/lib/.build-id/58
/usr/lib/.build-id/58/ae7de3abf58076e0eeb0fb12d76f05e86584cb
/usr/lib/.build-id/58/b15ebbd5cd35fac3fbacad04117bd592d66d52
/usr/lib/.build-id/58/c91872b3da51037433823c6108ae559299b48c
/usr/lib/.build-id/59
/usr/lib/.build-id/59/a659af0c48712b5c98e0337d21e5e793cd514d
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/00b9559d379a3e2894a3815262dfd6b23ca0a2
/usr/lib/.build-id/5d/16fa929c160efa017d6094550aecf1a861d897
/usr/lib/.build-id/5d/a1f20890664d6600f24a8fa3f8fc6090d007df
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/0a512d1afd939c625e8c0b2019b47df4d2a3ce
/usr/lib/.build-id/63
/usr/lib/.build-id/63/67aa0383f21a31d336e3204ebbc536430fc486
/usr/lib/.build-id/64
/usr/lib/.build-id/64/94d0f6a5b43be708d3b360e025a06c390b1675
/usr/lib/.build-id/64/bdc47e3ca8ac03d9e60faea8b78f350566acdb
/usr/lib/.build-id/67
/usr/lib/.build-id/67/12f55501c181e8dc7c94c0e994ac2d486d5a55
/usr/lib/.build-id/67/798d5a37ac44075858dbc27e8976ea3c470741
/usr/lib/.build-id/68
/usr/lib/.build-id/68/29c4be41ec378fd96e5122d65d1601f0addb7e
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/f1ac31ce46d6143adacb9af98f6615900eda2a
/usr/lib/.build-id/70
/usr/lib/.build-id/70/a20e68a21d7a6c71fed9c682380d72dc812e1e
/usr/lib/.build-id/71
/usr/lib/.build-id/71/bcf811614c67495f567eaece6924814f20b62b
/usr/lib/.build-id/72
/usr/lib/.build-id/72/25398d07ef354fec24dcc1b0049c880c40cbdb
/usr/lib/.build-id/73
/usr/lib/.build-id/73/cf02b29748dab93d18c5580bf19997fbacb681
/usr/lib/.build-id/75
/usr/lib/.build-id/75/3bedf37d50606c1d81c4ae2ccc375827d398ed
/usr/lib/.build-id/75/ab83a6790568c994f7d0154ecd73a8649c7ce6
/usr/lib/.build-id/76
/usr/lib/.build-id/76/07e3ceeecc9167c303b9be41d1fbd650e570e5
/usr/lib/.build-id/76/ac43c75e50d04720fd9ee4b7f140103b0889c9
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/dfc6606a3de428bee479f7eb47cb1ee9479e1e
/usr/lib/.build-id/80
/usr/lib/.build-id/80/621bea51412c82a541d9c1b509fa00c743e0ff
/usr/lib/.build-id/87
/usr/lib/.build-id/87/3065a0107ff4ae3d0a3417f1924003f27e57f2
/usr/lib/.build-id/88
/usr/lib/.build-id/88/3d043f41d4dbb7802a8d42de80ffb809920785
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/86e8c54e61893919f876a44a2621424f2122da
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/a198ee180c6dd59a19238d86e522bff3ee3731
/usr/lib/.build-id/93
/usr/lib/.build-id/93/eec197166a05cfd26fcad478064171f0b62ca1
/usr/lib/.build-id/95
/usr/lib/.build-id/95/1557721b3d1ff3e0e01863c58cc360d4314ca1
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/6aadfc98ed62954279fe6381102e367b80f076
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/c1fcad8965850c964a6cc4b0c346bd8bf28dea
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/20a364f4dde837955e6c2d10fb237289dd4d39
/usr/lib/.build-id/9d/8d07c7aef49fb7c0294fac44692487f1e0bc2a
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/a1327a26264db259a2e8ce89b5d9f523030600
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/5f70bd8935a44840eb39b6f91e1458d8fc879a
/usr/lib/.build-id/a0/fc8a2d6a3dd0a08dccba67bb05987f17fd2e9d
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/c9f2f5597db27b3e9c33903dc61232eeba719a
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/c368d6a78c797e931ce09d95b0d5f4dd183728
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/ce7f3ab2ed7c86687b131ed240d4ea03077f8b
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/7e53033a4dcb8d8aaad311f2cf54f76b7f75c5
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/ef6bb2b0b62d81ae3886c91f1a9d3db397eec3
/usr/lib/.build-id/af
/usr/lib/.build-id/af/44aa8301750aac6117acc27ff87845d0c6bfac
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/bad7ba0b473177d0e7fbb2bd586dca79029c6e
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/b524e25c449bd25553a33a7530d4af6e5e6696
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/e99f4e131a7f3ec3155dad601fad10de2b5fed
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/5890482e2a841223875fa0af3d272db67fd85d
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/222e0ec582466fc8138bba5f09264c402abed1
/usr/lib/.build-id/ba/9091c3f74787d6045064fc613c3bfd2d6f3c4d
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/04b8c3ca41e18384fa5893ee725fa390ceae5c
/usr/lib/.build-id/c0/48ee4b8d39b020a33fa3b24c446a8246268af9
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/734be97e5c23d4dc7654f647be8f48b7fb68f7
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/28ceed923eb64e6e3966f84e944dff524dbb02
/usr/lib/.build-id/c6/8bfaa8036ce6f41d1615a9c88029770950f861
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/1ceac5e3cbab394327565e19cbbc770180834a
/usr/lib/.build-id/c7/5702c002a9273528c8e7f450b9f5f010f700c1
/usr/lib/.build-id/c7/fd6fdfca5aaf60f7a7d8f8c37c1b90c70ab979
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/64e2ff043148c8e1273d02be3e5d8fb5f0108b
/usr/lib/.build-id/cd/6976a017420de12b0c897f9ccbe605753a5c31
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/3bcd59b65d92bc63cf2fe99e4fbf0871fdd5df
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/faf4b250e2723520aed1410dcd246958b95d00
/usr/lib/.build-id/da
/usr/lib/.build-id/da/960e9b9e9f51032f69e24290ac6383fe550433
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/2908564461ab12ebd33b46930e3a586b43d5f4
/usr/lib/.build-id/dc/ffbc021f5c8c6609ba59f944462db125b4f49b
/usr/lib/.build-id/df
/usr/lib/.build-id/df/59c429e6c66c95c11ae2dd757e668c1dee5d89
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/1fa28c061b3b6179508eb970e04b2ff9392046
/usr/lib/.build-id/e0/4419470e0bc933f8a3442e2664599ee6344781
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/3c6dd1f0ad631bda43872f12895695edb7dfa6
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/b1dc0de14f71bb6a1eced8daf576567af0dcc4
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/22a72643d91165141ce159a9e3dabde7da359d
/usr/lib/.build-id/ee/b38245912ab638590e10115fe94e1aeda5f978
/usr/lib/.build-id/ee/ceaabe24a9ddbe4277b52f846eb492ac214b89
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/94d5c4776d5949692cffa69979b56e4fad8061
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/195606931f4f3f82d6ddabf01fe32b1b5e8264
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/f11987d644790de9ba2ebb95dfc14fbc8006c5
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/1ae54deba4bbb18cf18c8134d986423d4de565
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/3a14d8a28ab08d417c40e8482a2206ed462325
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/c8508b217eb9d2aab4882e5960fe4a2d7930bc
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/37db76b6cf4c8ec15a769241301f2f246d097c
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/17ac01ecfcdf9a0af4c6a309ab251e2c73bd98
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/dfa413ecf9227b7d2356d607225d355c85175b
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/1de27a94ffde4098cb21b27b3274021d93d1c6
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/860d939703e0e0119ff248578d70e57bf7db50
/usr/lib/systemd/system/strongswan-starter.service
/usr/lib/systemd/system/strongswan.service
/usr/lib/tmpfiles.d/strongswan.conf
/usr/lib64/strongswan
/usr/lib64/strongswan/libcharon.so.0
/usr/lib64/strongswan/libcharon.so.0.0.0
/usr/lib64/strongswan/libnttfft.so.0
/usr/lib64/strongswan/libnttfft.so.0.0.0
/usr/lib64/strongswan/libpttls.so.0
/usr/lib64/strongswan/libpttls.so.0.0.0
/usr/lib64/strongswan/libradius.so.0
/usr/lib64/strongswan/libradius.so.0.0.0
/usr/lib64/strongswan/libsimaka.so.0
/usr/lib64/strongswan/libsimaka.so.0.0.0
/usr/lib64/strongswan/libstrongswan.so.0
/usr/lib64/strongswan/libstrongswan.so.0.0.0
/usr/lib64/strongswan/libtls.so.0
/usr/lib64/strongswan/libtls.so.0.0.0
/usr/lib64/strongswan/libtpmtss.so.0
/usr/lib64/strongswan/libtpmtss.so.0.0.0
/usr/lib64/strongswan/libvici.so.0
/usr/lib64/strongswan/libvici.so.0.0.0
/usr/lib64/strongswan/plugins
/usr/lib64/strongswan/plugins/libstrongswan-acert.so
/usr/lib64/strongswan/plugins/libstrongswan-aes.so
/usr/lib64/strongswan/plugins/libstrongswan-aesni.so
/usr/lib64/strongswan/plugins/libstrongswan-attr.so
/usr/lib64/strongswan/plugins/libstrongswan-bypass-lan.so
/usr/lib64/strongswan/plugins/libstrongswan-ccm.so
/usr/lib64/strongswan/plugins/libstrongswan-chapoly.so
/usr/lib64/strongswan/plugins/libstrongswan-cmac.so
/usr/lib64/strongswan/plugins/libstrongswan-constraints.so
/usr/lib64/strongswan/plugins/libstrongswan-counters.so
/usr/lib64/strongswan/plugins/libstrongswan-ctr.so
/usr/lib64/strongswan/plugins/libstrongswan-curl.so
/usr/lib64/strongswan/plugins/libstrongswan-curve25519.so
/usr/lib64/strongswan/plugins/libstrongswan-des.so
/usr/lib64/strongswan/plugins/libstrongswan-dhcp.so
/usr/lib64/strongswan/plugins/libstrongswan-dnskey.so
/usr/lib64/strongswan/plugins/libstrongswan-drbg.so
/usr/lib64/strongswan/plugins/libstrongswan-duplicheck.so
/usr/lib64/strongswan/plugins/libstrongswan-eap-aka-3gpp.so
/usr/lib64/strongswan/plugins/libstrongswan-eap-aka-3gpp2.so
/usr/lib64/strongswan/plugins/libstrongswan-eap-aka.so
/usr/lib64/strongswan/plugins/libstrongswan-eap-dynamic.so
/usr/lib64/strongswan/plugins/libstrongswan-eap-gtc.so
/usr/lib64/strongswan/plugins/libstrongswan-eap-identity.so
/usr/lib64/strongswan/plugins/libstrongswan-eap-md5.so
/usr/lib64/strongswan/plugins/libstrongswan-eap-mschapv2.so
/usr/lib64/strongswan/plugins/libstrongswan-eap-peap.so
/usr/lib64/strongswan/plugins/libstrongswan-eap-radius.so
/usr/lib64/strongswan/plugins/libstrongswan-eap-sim-file.so
/usr/lib64/strongswan/plugins/libstrongswan-eap-sim.so
/usr/lib64/strongswan/plugins/libstrongswan-eap-tls.so
/usr/lib64/strongswan/plugins/libstrongswan-eap-ttls.so
/usr/lib64/strongswan/plugins/libstrongswan-ext-auth.so
/usr/lib64/strongswan/plugins/libstrongswan-farp.so
/usr/lib64/strongswan/plugins/libstrongswan-fips-prf.so
/usr/lib64/strongswan/plugins/libstrongswan-gcm.so
/usr/lib64/strongswan/plugins/libstrongswan-gcrypt.so
/usr/lib64/strongswan/plugins/libstrongswan-gmp.so
/usr/lib64/strongswan/plugins/libstrongswan-ha.so
/usr/lib64/strongswan/plugins/libstrongswan-hmac.so
/usr/lib64/strongswan/plugins/libstrongswan-ipseckey.so
/usr/lib64/strongswan/plugins/libstrongswan-kernel-netlink.so
/usr/lib64/strongswan/plugins/libstrongswan-led.so
/usr/lib64/strongswan/plugins/libstrongswan-md4.so
/usr/lib64/strongswan/plugins/libstrongswan-md5.so
/usr/lib64/strongswan/plugins/libstrongswan-mgf1.so
/usr/lib64/strongswan/plugins/libstrongswan-newhope.so
/usr/lib64/strongswan/plugins/libstrongswan-nonce.so
/usr/lib64/strongswan/plugins/libstrongswan-openssl.so
/usr/lib64/strongswan/plugins/libstrongswan-pem.so
/usr/lib64/strongswan/plugins/libstrongswan-pgp.so
/usr/lib64/strongswan/plugins/libstrongswan-pkcs1.so
/usr/lib64/strongswan/plugins/libstrongswan-pkcs11.so
/usr/lib64/strongswan/plugins/libstrongswan-pkcs12.so
/usr/lib64/strongswan/plugins/libstrongswan-pkcs7.so
/usr/lib64/strongswan/plugins/libstrongswan-pkcs8.so
/usr/lib64/strongswan/plugins/libstrongswan-pubkey.so
/usr/lib64/strongswan/plugins/libstrongswan-random.so
/usr/lib64/strongswan/plugins/libstrongswan-rc2.so
/usr/lib64/strongswan/plugins/libstrongswan-resolve.so
/usr/lib64/strongswan/plugins/libstrongswan-revocation.so
/usr/lib64/strongswan/plugins/libstrongswan-sha1.so
/usr/lib64/strongswan/plugins/libstrongswan-sha2.so
/usr/lib64/strongswan/plugins/libstrongswan-socket-default.so
/usr/lib64/strongswan/plugins/libstrongswan-sql.so
/usr/lib64/strongswan/plugins/libstrongswan-sshkey.so
/usr/lib64/strongswan/plugins/libstrongswan-stroke.so
/usr/lib64/strongswan/plugins/libstrongswan-tpm.so
/usr/lib64/strongswan/plugins/libstrongswan-unity.so
/usr/lib64/strongswan/plugins/libstrongswan-updown.so
/usr/lib64/strongswan/plugins/libstrongswan-vici.so
/usr/lib64/strongswan/plugins/libstrongswan-x509.so
/usr/lib64/strongswan/plugins/libstrongswan-xauth-eap.so
/usr/lib64/strongswan/plugins/libstrongswan-xauth-generic.so
/usr/lib64/strongswan/plugins/libstrongswan-xauth-noauth.so
/usr/lib64/strongswan/plugins/libstrongswan-xauth-pam.so
/usr/lib64/strongswan/plugins/libstrongswan-xcbc.so
/usr/libexec/strongswan
/usr/libexec/strongswan/_copyright
/usr/libexec/strongswan/_imv_policy
/usr/libexec/strongswan/_updown
/usr/libexec/strongswan/aikgen
/usr/libexec/strongswan/charon
/usr/libexec/strongswan/duplicheck
/usr/libexec/strongswan/imv_policy_manager
/usr/libexec/strongswan/pki
/usr/libexec/strongswan/scepclient
/usr/libexec/strongswan/starter
/usr/libexec/strongswan/stroke
/usr/libexec/strongswan/tpm_extendpcr
/usr/libexec/strongswan/xfrmi
/usr/sbin/charon-cmd
/usr/sbin/charon-systemd
/usr/sbin/strongswan
/usr/sbin/swanctl
/usr/share/doc/strongswan
/usr/share/doc/strongswan/ChangeLog
/usr/share/doc/strongswan/NEWS
/usr/share/doc/strongswan/README
/usr/share/doc/strongswan/TODO
/usr/share/licenses/strongswan
/usr/share/licenses/strongswan/COPYING
/usr/share/man/man1/strongswan_pki---acert.1.gz
/usr/share/man/man1/strongswan_pki---dn.1.gz
/usr/share/man/man1/strongswan_pki---gen.1.gz
/usr/share/man/man1/strongswan_pki---issue.1.gz
/usr/share/man/man1/strongswan_pki---keyid.1.gz
/usr/share/man/man1/strongswan_pki---pkcs7.1.gz
/usr/share/man/man1/strongswan_pki---print.1.gz
/usr/share/man/man1/strongswan_pki---pub.1.gz
/usr/share/man/man1/strongswan_pki---req.1.gz
/usr/share/man/man1/strongswan_pki---self.1.gz
/usr/share/man/man1/strongswan_pki---signcrl.1.gz
/usr/share/man/man1/strongswan_pki---verify.1.gz
/usr/share/man/man1/strongswan_pki.1.gz
/usr/share/man/man1/strongswan_pt-tls-client.1.gz
/usr/share/man/man5/strongswan.conf.5.gz
/usr/share/man/man5/strongswan_ipsec.conf.5.gz
/usr/share/man/man5/strongswan_ipsec.secrets.5.gz
/usr/share/man/man5/strongswan_swanctl.conf.5.gz
/usr/share/man/man8/strongswan.8.gz
/usr/share/man/man8/strongswan_charon-cmd.8.gz
/usr/share/man/man8/strongswan_scepclient.8.gz
/usr/share/man/man8/strongswan_sec-updater.8.gz
/usr/share/man/man8/strongswan_sw-collector.8.gz
/usr/share/man/man8/strongswan_swanctl.8.gz
/usr/share/strongswan/templates/config
/usr/share/strongswan/templates/config/plugins
/usr/share/strongswan/templates/config/plugins/acert.conf
/usr/share/strongswan/templates/config/plugins/aes.conf
/usr/share/strongswan/templates/config/plugins/aesni.conf
/usr/share/strongswan/templates/config/plugins/attr.conf
/usr/share/strongswan/templates/config/plugins/bypass-lan.conf
/usr/share/strongswan/templates/config/plugins/ccm.conf
/usr/share/strongswan/templates/config/plugins/chapoly.conf
/usr/share/strongswan/templates/config/plugins/cmac.conf
/usr/share/strongswan/templates/config/plugins/constraints.conf
/usr/share/strongswan/templates/config/plugins/counters.conf
/usr/share/strongswan/templates/config/plugins/ctr.conf
/usr/share/strongswan/templates/config/plugins/curl.conf
/usr/share/strongswan/templates/config/plugins/curve25519.conf
/usr/share/strongswan/templates/config/plugins/des.conf
/usr/share/strongswan/templates/config/plugins/dhcp.conf
/usr/share/strongswan/templates/config/plugins/dnskey.conf
/usr/share/strongswan/templates/config/plugins/drbg.conf
/usr/share/strongswan/templates/config/plugins/duplicheck.conf
/usr/share/strongswan/templates/config/plugins/eap-aka-3gpp.conf
/usr/share/strongswan/templates/config/plugins/eap-aka-3gpp2.conf
/usr/share/strongswan/templates/config/plugins/eap-aka.conf
/usr/share/strongswan/templates/config/plugins/eap-dynamic.conf
/usr/share/strongswan/templates/config/plugins/eap-gtc.conf
/usr/share/strongswan/templates/config/plugins/eap-identity.conf
/usr/share/strongswan/templates/config/plugins/eap-md5.conf
/usr/share/strongswan/templates/config/plugins/eap-mschapv2.conf
/usr/share/strongswan/templates/config/plugins/eap-peap.conf
/usr/share/strongswan/templates/config/plugins/eap-radius.conf
/usr/share/strongswan/templates/config/plugins/eap-sim-file.conf
/usr/share/strongswan/templates/config/plugins/eap-sim.conf
/usr/share/strongswan/templates/config/plugins/eap-tls.conf
/usr/share/strongswan/templates/config/plugins/eap-tnc.conf
/usr/share/strongswan/templates/config/plugins/eap-ttls.conf
/usr/share/strongswan/templates/config/plugins/ext-auth.conf
/usr/share/strongswan/templates/config/plugins/farp.conf
/usr/share/strongswan/templates/config/plugins/fips-prf.conf
/usr/share/strongswan/templates/config/plugins/gcm.conf
/usr/share/strongswan/templates/config/plugins/gcrypt.conf
/usr/share/strongswan/templates/config/plugins/gmp.conf
/usr/share/strongswan/templates/config/plugins/ha.conf
/usr/share/strongswan/templates/config/plugins/hmac.conf
/usr/share/strongswan/templates/config/plugins/ipseckey.conf
/usr/share/strongswan/templates/config/plugins/kernel-libipsec.conf
/usr/share/strongswan/templates/config/plugins/kernel-netlink.conf
/usr/share/strongswan/templates/config/plugins/led.conf
/usr/share/strongswan/templates/config/plugins/md4.conf
/usr/share/strongswan/templates/config/plugins/md5.conf
/usr/share/strongswan/templates/config/plugins/mgf1.conf
/usr/share/strongswan/templates/config/plugins/newhope.conf
/usr/share/strongswan/templates/config/plugins/nonce.conf
/usr/share/strongswan/templates/config/plugins/openssl.conf
/usr/share/strongswan/templates/config/plugins/pem.conf
/usr/share/strongswan/templates/config/plugins/pgp.conf
/usr/share/strongswan/templates/config/plugins/pkcs1.conf
/usr/share/strongswan/templates/config/plugins/pkcs11.conf
/usr/share/strongswan/templates/config/plugins/pkcs12.conf
/usr/share/strongswan/templates/config/plugins/pkcs7.conf
/usr/share/strongswan/templates/config/plugins/pkcs8.conf
/usr/share/strongswan/templates/config/plugins/pubkey.conf
/usr/share/strongswan/templates/config/plugins/random.conf
/usr/share/strongswan/templates/config/plugins/rc2.conf
/usr/share/strongswan/templates/config/plugins/resolve.conf
/usr/share/strongswan/templates/config/plugins/revocation.conf
/usr/share/strongswan/templates/config/plugins/sha1.conf
/usr/share/strongswan/templates/config/plugins/sha2.conf
/usr/share/strongswan/templates/config/plugins/socket-default.conf
/usr/share/strongswan/templates/config/plugins/sql.conf
/usr/share/strongswan/templates/config/plugins/sqlite.conf
/usr/share/strongswan/templates/config/plugins/sshkey.conf
/usr/share/strongswan/templates/config/plugins/stroke.conf
/usr/share/strongswan/templates/config/plugins/tnc-ifmap.conf
/usr/share/strongswan/templates/config/plugins/tnc-imc.conf
/usr/share/strongswan/templates/config/plugins/tnc-imv.conf
/usr/share/strongswan/templates/config/plugins/tnc-pdp.conf
/usr/share/strongswan/templates/config/plugins/tnc-tnccs.conf
/usr/share/strongswan/templates/config/plugins/tnccs-11.conf
/usr/share/strongswan/templates/config/plugins/tnccs-20.conf
/usr/share/strongswan/templates/config/plugins/tnccs-dynamic.conf
/usr/share/strongswan/templates/config/plugins/tpm.conf
/usr/share/strongswan/templates/config/plugins/unity.conf
/usr/share/strongswan/templates/config/plugins/updown.conf
/usr/share/strongswan/templates/config/plugins/vici.conf
/usr/share/strongswan/templates/config/plugins/x509.conf
/usr/share/strongswan/templates/config/plugins/xauth-eap.conf
/usr/share/strongswan/templates/config/plugins/xauth-generic.conf
/usr/share/strongswan/templates/config/plugins/xauth-noauth.conf
/usr/share/strongswan/templates/config/plugins/xauth-pam.conf
/usr/share/strongswan/templates/config/plugins/xcbc.conf
/usr/share/strongswan/templates/config/strongswan.conf
/usr/share/strongswan/templates/config/strongswan.d
/usr/share/strongswan/templates/config/strongswan.d/aikgen.conf
/usr/share/strongswan/templates/config/strongswan.d/attest.conf
/usr/share/strongswan/templates/config/strongswan.d/charon-logging.conf
/usr/share/strongswan/templates/config/strongswan.d/charon-systemd.conf
/usr/share/strongswan/templates/config/strongswan.d/charon.conf
/usr/share/strongswan/templates/config/strongswan.d/imcv.conf
/usr/share/strongswan/templates/config/strongswan.d/pki.conf
/usr/share/strongswan/templates/config/strongswan.d/scepclient.conf
/usr/share/strongswan/templates/config/strongswan.d/sec-updater.conf
/usr/share/strongswan/templates/config/strongswan.d/starter.conf
/usr/share/strongswan/templates/config/strongswan.d/swanctl.conf
/usr/share/strongswan/templates/config/strongswan.d/tnc.conf
/usr/share/strongswan/templates/database
/usr/share/strongswan/templates/database/imv
/usr/share/strongswan/templates/database/imv/data.sql
/usr/share/strongswan/templates/database/imv/tables-mysql.sql
/usr/share/strongswan/templates/database/imv/tables.sql
/usr/share/strongswan/templates/database/sql
/usr/share/strongswan/templates/database/sql/mysql.sql
/usr/share/strongswan/templates/database/sql/sqlite.sql
/usr/share/strongswan/templates/database/sw-collector
/usr/share/strongswan/templates/database/sw-collector/sw_collector_tables.sql

References

Summary

In this tutorial we learn how to install strongswan on CentOS 8 using yum and dnf.