mirror of https://github.com/01-edu/public.git
CON-1863 add Utm virtual machine for mac silicon and remove the specification of VirtualBox
This commit is contained in:
parent
f2d394ad62
commit
fd6f69b053
|
@ -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 :
|
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)
|
- [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.
|
Host & guest IP addresses don't need to be specified, guest port needs to be 22 because that's SSH default listening port.
|
||||||
|
|
||||||
|
@ -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.
|
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`.
|
In addition, you will need to allow the new port in the firewall `ufw`.
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#### Functional
|
#### 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
|
#### General
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue