How to setup AWS client VPN on Ubuntu OS and Resolved SSL missing & AES-256-GCM not present error


Hello Dear friends!!! in this tutorial I'll show you install AWS Client VPN on ubuntu OS. Few days back we have setup the AWS Client VPN on our AWS account to allow the remote user to access network resources of our private VPC.

The setup of AWS Client VPN on AWS is very straight forwarded you can follow the AWS Doc which described all the procedure step by step. The client side setup is also very simply for Window and MAC OS however AWS client VPN do not work out of the box on Ubuntu OS.

When we tried to install the AWS Client VPN on Ubuntu OS first we got the error of "Openssl AES-256-GCM not present error"  so the resolution of this issue is just install the latest version on Openvpn on your Linux distribution  next we try to installed the latest version of openvpn manually we got the error "configure: error: ssl is required but missing" so to resolve this issue we need to install the three dev package libssl-dev, liblzo2-dev,libpam0g-dev .

Okay enough writing , now I'm mentioning all the steps below steps by steps and you can also watch the video for all the steps as showing below






So here are the steps

01. First install the following packages

sudo apt-get install --reinstall network-manager network-manager-gnome network-manager-openvpn network-manager-openvpn-gnome

02. Download the latest openvpn file from the following location 

wget https://swupdate.openvpn.org/community/releases/openvpn-2.4.7.tar.gz

03. Now Install the following packages first update the apt repository 

sudo apt-get update

then install the following package to compile openvpn package

sudo apt-get install build-essential

after then install the following three development packages

sudo apt-get install libssl-dev
sudo apt-get install liblzo2-dev
sudo apt-get install libpam0g-dev

04. Now extract and compile the openvpn package

tar xfz openvpn-2.4.7.tar.gz

then change the current folder to openvpn extracted folder

cd openvpn-2.4.7

now run the following command one by one this will compile and install the latest openvpn

./configure
make
make install

to view the latest openvpn version run the following command

openvpn — version

05. Then give the normal user the sudoers right to run the openvpn as admin

sudo nano /etc/sudoers

and add the following line below the root user permission 

<username> ALL=(ALL:ALL) /usr/local/sbin/openvpn

please change <username> with the user name to whom you give the rights

06. now run the openvpn with the config file 

sudo openvpn --config /etc/openvpn/client-config.ovpn

Wow!!! now you are connected to your AWS Client VPN to access your private VPC.

That's it I hope you like this tutorial. And thanks again!!!  to visit my blog again please feel free to leave any comment or contact us if you have any queries.

Share:

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

WELCOME TEXT

Welcome !!! viewers and thank you to visit my blog noteoftech this blog will help you to find the resolution of many tech related issue and also very useful tech related tutorial. So please don't forget to visit my blog on daily basis...and please bookmark this page also. So enjoy this blog and have a nice day!!!!.

About Me

Find Us On Youtube

Hi viewers!!! you can find other useful tech tutorial on our Youtube Channel KonwItFree Please click below to visit our channel

Popular Posts

Powered by Blogger.

Recent Posts

PAGES

Archive

Labels

AWS (7) CCNA (2) CCNP (2) cisco (2) Cyberoam (1) eve-ng (2) Firewall (5) googlecloud (3) Juniper (1) MACOS (1) Mint OS (2) Openldap (5) oraclecloud (6) other (15) pfsense (5) securecrt (1) Sophos (3) Ubuntu (9) Vmware (9) VPN (1) Window (5) Window10 (9) WIndow7 (4) WinServer (2) WinXP (1) xubuntu (2)

Labels