All installations are running on Ubuntu LTS (18 or 20)
Navigate to the temp
, and download the installation script
curl https://raw.githubusercontent.com/GNS3/gns3-server/master/scripts/remote-install.sh > /tmp/gns3-remote-install.sh
Run the installation script with desired options.
--with-openvpn
- This option will install/setup a OpenVPN server on your machine to allow connections to the emulated devices that will run on GNS. I personally don't use this option because I have a VPN tunnel back to the firewall that the server is behind anyways.--with-iou
- Install IOU--with-i386-repository
- Add i386 repositories require by IOU if they are not available on the system. Warning this will replace your source.list in order to use official ubuntu mirrorbash /tmp/gns3-remote-install.sh --with-iou --with-i386-repository
By default, the server will start and listen on 3080/tcp, with authentication disabled.
The default server config, at /etc/gns3/gns3_server.conf
, looks like this:
[Server]
host = 0.0.0.0
port = 3080
images_path = /opt/gns3/images
projects_path = /opt/gns3/projects
appliances_path = /opt/gns3/appliances
configs_path = /opt/gns3/configs
report_errors = True
[Qemu]
enable_hardware_acceleration = True
require_hardware_acceleration = True
To Enable User Auth
[Server]
...
auth = True
user = userName
password = userPassword
To Enable SSL
[Server]
...
ssl = True
certfile = /home/gns3/.conf/GNS3/ssl/gns.cert
certkey = /home/gns3/.conf/GNS3/ssl/gns.key
Set port range for Virtual Device Telnet
[Server]
...
console_start_port_range = 2001
console_end_port_range = 5000