Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sred:setup_lab_remote [2023/10/12 00:05]
horia.stoenescu Removed on-prem setup
sred:setup_lab_remote [2023/10/14 13:50] (current)
horia.stoenescu [Virtual machine access]
Line 5: Line 5:
  
 1 A). In case you have on your host Windows/​MacOS installed: 1 A). In case you have on your host Windows/​MacOS installed:
-from any browser go to portal address **vpn.upb.exam.live** (!!do not ping it!!, it does not respond to icmp-echo requests), login in the new window with your LDAP credentials ​(used also for Moodle acount) ​and download the agent for your OS - Windows or MacOS (win 32b, win 64b or macos 32/64b).+from any browser go to portal address **vpn.upb.exam.live** (!!do not ping it!!, it does not respond to icmp-echo requests), login in the new window with student ​credentials and download the agent for your OS - Windows or MacOS (win 32b, win 64b or macos 32/64b).
  
 <​note>​ <​note>​
Line 11: Line 11:
 </​note>​ </​note>​
  
-1 B). In case you have on your host Linux: you can download the UI version from [[https://​drive.google.com/​file/​d/​1StiKwCWQ0EkkPvfREmABSGY_EwGnYjnS/​view?​usp=sharing|here]] (v. 5.2.6.0-18 - the latest GP version tested on Linux). There is also a CLI version, but this does not work with this portal. Please note that this version is mostly used by QA automation team and you may encounter different bugs. If you get stuck, please do not hesitate to contact ​me on chat/email.+1 B). In case you have on your host Linux: you can download the UI version from [[https://​drive.google.com/​file/​d/​1StiKwCWQ0EkkPvfREmABSGY_EwGnYjnS/​view?​usp=sharing|here]] (v. 5.2.6.0-18 - the latest GP version tested on Linux). There is also a CLI version, but this does not work with this portal. Please note that this version is mostly used by QA automation team and you may encounter different bugs. If you get stuck, please do not hesitate to contact ​the assistant ​on Teams chat.
  
 <​note>​ <​note>​
Line 24: Line 24:
 If you have issues accessing the portal, try the following steps: If you have issues accessing the portal, try the following steps:
  
-- access from browser the portal. If you receive a timeout, then your public ip is blocked. Ask me or Mihai to delete the entry+- access from browser the portal. If you receive a timeout, then your public ip is blocked. Ask the assistant ​to delete the entry
  
 - if you have access from browser and the connection cannot be made from GP UI, then try to disable and then enable, or go to Settings > General > Portals remove it and connect again to it, or reinstall the application - if you have access from browser and the connection cannot be made from GP UI, then try to disable and then enable, or go to Settings > General > Portals remove it and connect again to it, or reinstall the application
Line 45: Line 45:
 </​code>​ </​code>​
  
-3. Login again with your LDAP credentials and then go to a terminal and check a ping request to an internal gw:+3. Login again with student ​credentials and then go to a terminal and check a ping request to an internal gw:
 <​code>​ <​code>​
 user@hostname:​~$ ping -c 2 10.3.255.254 user@hostname:​~$ ping -c 2 10.3.255.254
Line 63: Line 63:
  
 ==== Virtual machine access ==== ==== Virtual machine access ====
-The VM is an eve-ng (previously known as unetlab) and each student has one assigned (see the last column on class register, available on the course [[https://​curs.upb.ro/​2022/​course/​view.php?​id=4732|website]] mappings: ip VM--student) that can be accessed from:+The VM is an ''​eve-ng'' ​(previously known as unetlab) and each student has one assigned (see the last column on class register, available on the course [[https://​curs.upb.ro/​2023/​course/​view.php?​id=4550|website]] mappings: ip VM--student) that can be accessed from:
  
-- CLI via ssh (user: **root** and password: **student**) which is mostly used for debugging and you will rarely use it (for adding new images, freeing space etc.). ​+- CLI via ssh (user: **root** and password: **eve**) which is mostly used for debugging and you will rarely use it (for adding new images, freeing space etc.). ​
  
-- web (user: **admin** and password: **eve**) which provides an user interface for an emulated virtual environment with endpoints (OS Linux) and network/​security equipments. Is quite similar to GNS3 that was used previously on SRED (lab 2019).+- web (user: **admin** and password: **eve**) which provides an user interface for an emulated virtual environment with endpoints (OS Linux) and network/​security equipments
  
 <​note>​ <​note>​
Line 88: Line 88:
 </​note>​ </​note>​
  
 +For the labs, we are going to use:
  
-For the first 2 labs, a Cisco router 7200 image is used (as it supports acls, cbac, zbf) in dynamips, 3 Ubuntu ​18.04 machines (1 server and 2 clients) ​and Kali 2019.3. ​In order to create ​the topology, you just need to drag the required node (4 available for now) and add network connections between them.+- ''​Cisco router 7200 image'' ​(as it supports acls, cbac, zbf) in dynamips ​- setup steps [[https://​www.eve-ng.net/​index.php/​documentation/​howtos/​howto-add-cisco-dynamips-images-cisco-ios/​|here]] 
 +  
 +- ''​Ubuntu ​22.04'' ​and ''​Kali 2019.3''​ machines - setup steps [[https://​www.eve-ng.net/​index.php/​documentation/​howtos/​howto-create-own-linux-host-image/​|here]]
  
 +- ''​pfSense''​ open source firewall - image [[https://​www.pfsense.org/​download/​|here]] and setup [[https://​www.eve-ng.net/​index.php/​3380-2/​|steps]]
 +
 +In order to create the topology, you just need to drag the required node and add network connections between them.
  
 <​note>​ <​note>​
-[[http://31.22.89.2/cisco-ios/7200/|This]] is the place where you find different other Cisco 7200 images.+[[https://drive.google.com/file/d/1PL-SvcwoS1vplIprlSWjdKNUDgW66rFU/view|This]] is the place where you find Cisco 7200 image.
  
 Dynamips images are stored on the eve-ng machine on path **/​opt/​unetlab/​addons/​dynamips** (yes, they kept that legacy name path). The required one is already added there so do not delete anything. Dynamips images are stored on the eve-ng machine on path **/​opt/​unetlab/​addons/​dynamips** (yes, they kept that legacy name path). The required one is already added there so do not delete anything.
sred/setup_lab_remote.1697058304.txt.gz · Last modified: 2023/10/12 00:05 by horia.stoenescu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0