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.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.