- Create the remote server
-
To create a Linux virtual machine in the Azure portal follow these steps.
-
To create Amazon EC2 Linux instance follow these steps.
-
Open port
1194
for the remote server. -
Install GNS3 on a remote server Commands:
cd /tmp curl https://raw.githubusercontent.com/GNS3/gns3-server/master/scripts/remote-install.sh > gns3-remote-install.sh bash gns3-remote-install.sh --with-openvpn --with-iou --with-i386-repository
Explaination for commands is provided here.
-
Download the certificate. You can also find the certificate in
/root/client.ovpn
. You can also usescp
command. First copy/root/client.ovpn
to/home/<remote_user>
, then you can use scp to copy it locally.scp <remote_user>@<remote_ip>:/home/<remote_user>/client.ovpn client.ovpn
-
VPN connection on local Linux
sudo apt-get install openvpn sudo openvpn --config client.ovpn --auth-retry interact
-
VPN connection on Windows Download and install OpenVPN for Windows.
- Click on “Show Hidden Items” in the Taskbar
- Right-click on “OpenVPN-GUI”, and select “Import file”
- Select the .ovpn file you downloaded, and click “Import”
- Right-click on “OpenVPN-GUI” again, and select “Connect”
-
If the VPN works, this page should work: http://172.16.253.1:3080/