Skip to content

Commit

Permalink
CON-1863 add Utm virtual machine for mac silicon and remove the speci…
Browse files Browse the repository at this point in the history
…fication of VirtualBox
  • Loading branch information
riad nbou authored and riad nbou committed Oct 13, 2023
1 parent f2d394a commit 5e8069a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions subjects/remote/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ It is more comfortable to use SSH because you can use your usual terminal, with

To do this exercise you will need to add this VM :

### For VirtualBox

- [01_remote](https://assets.01-edu.org/sys/01_remote.tar.gz)

Because the VM is behind the VirtualBox NAT router you can't access it directly. Unless you add a port forwarding rule in the VM settings that maps a host port to a guest port. Host refers to your machine and guest to the VM.
### For UTM

- [01_remote](https://assets.01-edu.org/sys/01_remote.utm.zip)

Because the VM is behind the virtualization software router you can't access it directly. Unless you add a port forwarding rule in the VM settings that maps a host port to a guest port. Host refers to your machine and guest to the VM.

Host & guest IP addresses don't need to be specified, guest port needs to be 22 because that's SSH default listening port.

Expand All @@ -24,6 +30,6 @@ ssh -p HOST_PORT root@localhost

It is recommended to change the default SSH port (22) to prevent bots from trying to connect to it.

Since we are pretending that the guest VM is a server, change the SSH service port and make sure the port forwarding of the Virtual NAT network still works !
Since we are pretending that the guest VM is a server, change the SSH service port and make sure the port forwarding still works !

In addition, you will need to allow the new port in the firewall `ufw`.
4 changes: 2 additions & 2 deletions subjects/remote/audit/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#### Functional

###### Is VirtualBox installed?
###### Is virtualization software installed?

###### Is the VM, 01_remote, added to VirtualBox?
###### Is the VM, 01_remote, added to the virtualization software?

#### General

Expand Down

0 comments on commit 5e8069a

Please sign in to comment.