I typically encrypt files, not whole partitions, so I combine dm-crypt with the losetup loopback device maintenance tool.
Típicamente codifico archivos, no particiones enteras, entonces combino la dm-crypt con el instrumento de mantenimiento del dispositivo loopback, losetup.
In this example, neither enp2s0f0 nor the loopback device have wireless extensions, meaning enp2s0f0 is our ethernet interface.
En este ejemplo, ni enp2s0f0 ni el dispositivo loopback tienen extensiones inalámbricas, por tanto, enp2s0f0 es la interfaz ethernet.
You could use a loopback device to mount files as filesystems for some of these services if you run out of partitions.
Se puede usar un dispositivo de loopback para montar ficheros como sistemas de ficheros para alguno de estos servicios si se han agotado las particiones.
Do remote logging of syslogd and find out if we can attach syslogd to a network port and get all the services to connect to that network port on the loopback device.
Conectarse remotamente a syslogd y encontrar si podemos unir syslogd a un puerto de red y conseguir todos los servicios conectados a ese puerto de red en el dispositivo de loopback.
This loopback device is then mounted.
Then on the client you associate a loopback device with the file
Raw disk images can be mounted outside the virtual machine using a loopback device.
Exercises which are left up to the reader include putting sshd under a non-root account and to install a second sshd which listens on the loopback device to let people into the real system.
Queda como ejercicio para el lector poner sshd bajo una cuenta sin privilegios e instalar un segundo sshd que escuche en el dispositivo de loopback para permitir a la gente entrar en el sistema real.
A quick hint: if you have netloop as a module, load it with nloopbacks=0 so that it doesn't create pointless interfaces to the loopback device.
Un consejo rápido: si tiene netloop como módulo, cárguelo con nloopbacks=0 para que no cree interfaces inútiles en el dispositivo de loopback.
The offset=32256 option is actually passed to the losetup program to set up a loopback device that starts at byte offset 32256 of the file and continues to the end.
La opción offset = 32256 se pasa realmente al programa losetup para configurar un dispositivo de bucle invertido que empieza en el desplazamiento de byte 32256 del archivo y continúa hasta el final.
This will setup the loopback device and create the necessary partition(s) device(s) in/dev/mapper/.
Esto configurará el dispositivo de bucle invertido y creará los dispositivos de partición necesarios en/dev/mapper/.
One thing to note, if you are connecting to a database, make sure your database service is running on the 127.0.0.1 loopback device and you specify the host to be 127.0.0.1 in your Perl scripts for the DBI module.
Algo a tener en cuenta, si nos estamos conectando a una base de datos, debemos asegurar que nuestro servicio de base de datos está corriendo en el dispositivo de loopback 127.0.0.1 y especificar que el host es 127.0.0.1 en nuestros scripts Perl para el módulo DBI.
Then, you setup a loopback device to the MBR file
A continuación, configura un dispositivo de bucle invertido en el archivo MBR