terça-feira, 12 de setembro de 2023

OpenVPN: configure 2FA with Google Authenticator

0 comentários
 Fonte: https://binsec.wiki/en/security/howto/protect-hardening/authorization-and-authentication/openvpn-configure-2fa-google-authenticator/This article explains how to configure 2FA (two factor authentication) for OpenVPN via the google authenticator PAM plugin. The configuration example below is done on a Debian bullseye Server. If you do this on a remote connection, you should have backup access to the server if something goes wrong during configuration.Install libpam-google-authenticator on the serverAfter installing and configuring openvpn in general, install the package libpam-google-authenticator:sudo ...
Continue reading →
terça-feira, 5 de setembro de 2023

How to Install KVM on Ubuntu 22.04 (Jammy Jellyfish)

0 comentários
 Fonte: https://www.linuxtechi.com/how-to-install-kvm-on-ubuntu-22-04/KVM, an acronym for Kernel-based Virtual Machine is an opensource virtualization technology integrated into the Linux kernel. It’s a type 1 (bare metal ) hypervisor that enables the kernel to act as a bare-metal hypervisor.KVM allows users to create and run multiple guest machines which can be either Windows or Linux. Each guest machine runs independently of other virtual ...
Continue reading →
terça-feira, 22 de agosto de 2023

PIHOLE-EXPORTER INSTALL

0 comentários
 fonte: https://jarrodstech.net/how-to-pihole-exporter-install-with-prometheus-and-grafana-on-ubuntu-20-04/Releases: https://github.com/eko/pihole-exporter/releases/ useradd --system --shell=/usr/sbin/nologin pihole_exportersudo mkdir /opt/pihole_exportermover o binario para esta pasta criadasudo chmod -R 500 pihole_exporter/sudo chown -R pihole_exporter:pihole_exporter pihole_exporter/sudo nano /lib/systemd/system/pihole_exporter.service Paste in the following code, replace 10.0.0.4 and xyz with your pihole IP and password.[Unit] Description=pihole_exporter [Service] ExecStart=/opt/pihole_exporter/pihole_exporter-linux-amd64 ...
Continue reading →
domingo, 20 de agosto de 2023

Criando interface bridge para o virt-manager com nmcli

0 comentários
 Fonte: Criando interface bridge para o virt-manager com nmcli | SinergicaIT BLOGCriando a interface bridgeo nmcli Network Manager Comand Line Interface, é p comando que faremos uso para criar e remover as interfaces bridgerssudo nmcli connection add type bridge ifname laboratorio1 autoconnect yesSubstitua o eth1 pela sua interface de rede que deseja fazer a bridgersudo nmcli connection add type bridge-slave ifname eth1 master bridge-laboratorio1 autoconnect yesAgora precisaremos desabilitar a Conexão cabeada 1, que está gerenciando o dispositivo eth1 para em seguida habilitar ...
Continue reading →
domingo, 23 de julho de 2023

Install Prometheus and node_exporter on Debian 11|10

0 comentários
 Fonte: Install Prometheus and node_exporter on Debian 11|10 | ComputingForGeeksHow To Install Prometheus on Debian 11| Debian 10 Linux?. Prometheus is a free and open source monitoring system that enables you to collect time-series data metrics from any target systems. Its web interface enables you to perform powerful queries, visualize collected data, and to configure alerts.In this guide, we will cover the installation of Prometheus and node_exporter on Debian 11 / Debian 10. Since this is a binary installation method, there is no required dependency to continue with the setup.Step ...
Continue reading →