Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.74 KB

install_remote_server.md

File metadata and controls

41 lines (30 loc) · 1.74 KB

Install GNS3 on Cloud (Azure VM, EC2, etc)

Steps:

  1. 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.

  1. Open port 1194 for the remote server.

  2. 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.

  3. Download the certificate. You can also find the certificate in /root/client.ovpn. You can also use scp 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
    
  4. VPN connection on local Linux

    sudo apt-get install openvpn
    sudo openvpn --config client.ovpn --auth-retry interact
    
  5. 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”
  6. If the VPN works, this page should work: http://172.16.253.1:3080/