-
Download & install the Windows OpenVPN Client
-
Extract the configuration (sent to you over email) inside C:\Program Files\OpenVPN\config directory
-
Run Command Prompt as Administrator.
-
Execute following command in the prompt
C:\Program Files\TAP-Windows\bin\addtap.bat
-
Run OpenVPN Client as Administrator.
-
There will be a small icon on botton right of your screen. Right-Click the icon and connect to the pentesting environment.
-
Install openvpn package
sudo apt-get install openvpn
or
sudo yum install openvpn
-
Extract the configuration (sent to you over email) inside
/etc/openvpn
directory using following command.sudo tar xvzf file.tar.gz -C /etc/openvpn
-
Edit
/etc/default/openvpn
. Uncomment this:AUTOSTART="all"
-
Run the following command to apply the above configuration change.
sudo systemctl daemon-reload
-
Restart the openvpn service. Depending upon the init system you are using, either of this should work.
sudo service openvpn restart
or
sudo systemctl restart openvpn