Draco Cyber Security
Uptime Kuma (Docker) – Configuring Apache Reverse Proxy with Let’s Encrypt SSL(Ubuntu 22.04)
This tutorial assumes that you already have uptime kuma installed in a Docker Container and the that Apache Web Server have been installed. First let's install the certbot for apache. sudo apt install certbot python3-certbot-apache You can use the default Apache web...
Windows 10 – Create Template using Sysrep
Creating Windows machine template has become important part of automation and testing. In this tutorial I will cover different aspect of creating a VM template. This similar for VMWare, OracleBox, KVM and most general virtualization technology. Depending on how you...
Install uptime-kuma with Apache as a reverse proxy (Ubuntu 22.04)
Uptime Kuma is an open-source tools that allows you to monitor servers, websites and services that are running in your environment. It is a very useful tools for monitoring your lab environment. You can install Uptime Kuma as a standalone or in a Docker container. For...
Changing Ubuntu 22.04 Hostname through CLI
Here are the steps to change the Ubuntu hostname. To check your current hostname and summary of your machine. hostname hostnamectl There a few ways to change your hostname. sudo hostnamectl set-hostname <new hostname> # Manually changing it in the hostname file...
Deploy FTDv Cisco Secure Firewall Threat Defense Virtual in KVM (Ubuntu)
https://youtu.be/nZ_noM6fbME In this tutorial I am going to show you how to deploy FTDv in KVM. The minimum system requirements for deploying FTDv are 4vCPU and 8GB RAM (Default). You will need to have at least 4 interfaces to successfully boot up. Create a shell...
Bash Prompt in Linux – Change the prompt temporally
OS: Linux You should be familiar with Bash prompt if you are a linux user. Whenever you start a terminal the command line interface of the Linux server you should be using Bash as a default unless you have change the default shell to something else. Bash prompt is set...
Install KVM on Ubuntu 22.04 Server
Install the cpu-checker to check if your system support virtualization. sudo apt install -y cpu-checker Run the command to see if the sys kvm-ok Install all the necessary packages. sudo apt install -y qemu-kvm virt-manager libvirt-daemon-system virtinst...
Ubuntu 22.04 ssh port change additional steps
For those of you who started using Ubuntu 22.04 Jammy Jellyfish and realized the conventional way of editing /etc/ssh/sshd_config does work. Hope this tutorial is useful and nothing else changes. This works as of Feb 19 2023. I am not sure when this started but in...
Basic Network Configuration for Ubuntu 22.04
Let's start with the basic. To check the ip address assign or interface available. ip address Another command to help identify all network interfaces available to your system is lshw sudo lshw -class network ethtool is a program that displays and changes Ethernet card...
How to create a SYSTEMD service for VNCServer to AutoStart at Reboot
Systemd is a system and service manager for Linux operating systems. It is used to manage and control services, manage system startup and shutdown, and perform various system-related tasks. Here is the sample configure for the systemd service....
Firewalls
Iptables Basic Configurations – Ubuntu 20.04
Iptables is a very useful linux firewall for protection and learning of how the ip packets transverse the linux system. Although the newer nftables is starting to gain popularity as well as ufw and firewalld due its simplicity as well as add GUI capabilities it is...
Configure IPTABLES port forwarding to nested Guest VM in KVM (Default NAT virtual bridge) – Ubuntu 20.04
For those using iptables and would like to configure iptables allow http and RDP access to the Guest VMs. Here are the steps to configure and explanation of the rules. 1. Configure the iptables use the nat table to route the mapped port to the guest VM IP address and...
IPTABLES Basics Understanding – Ubuntu 20.04
In this tutorial, I will share my learning and understanding of IPTABLES. There are a few things that will help in your understanding and configuration of: . TABLESTables form the basis of the IPTABLES where chains and rules are created base on the tables that the...
Install pfSense on VMWare ESXi 7.0 U2
This is quick tutorial to setup pfSense. I decide to try out pfSense for routing. Was deciding between VyOS and pfSense and since I have used pfSense before, I have decide to try out pfSense. For those who are looking at using vSphere vCenter. This video does not do...
UFW basics – Debian 11
OS: Debian 11 (Bullseye) In this tutorial I will show you how to quickly install ufw in Debian 11. Do take note that if you do not specific the protocol by default both TCP and UDP protocol will be enabled Install ufw in Debian. sudo apt install ufw First lets allow...
UFW basics – Ubuntu
OS: Ubuntu 20.04.3 LTSUFW: 0.36 UFW (uncomplicated firewall) is the default firewall configuration tool that runs on top of iptables, included in Ubuntu distributions. For those that are looking at using the GUI configuration option. You can check out Gufw. By default...
NFTables Beginners Guide
OS: Debian 11 (bullseye)nftables version: 0.9.8 (E.D.S.) For those of you that are familiar with iptables by Netfilter. You might be interested to learn nftables which is available in linux kernels >= 3.13. The good news is it comes with a compatible layer that...
Tech
SSH Tunneling – Remote Port Forwarding – Debian 11
OS: Debian 11 (Bullseye) https://youtu.be/SRAr0eaWZBs You have seen my tutorial of Local Port Forwarding and should have a basic understanding of how SSH Tunneling work. If you have not seen the tutorial you can go to the link below on how to setup local port...
SSH Tunneling -Local Port Forwarding – Debian 11
SSH Tunneling or SSH port forwarding is a way where you can access application leveraging on the SSH ports and tunnel in the event that you do not want to open additional ports on your firewall. In this tutorial I am going to show you how...
Enabling SSH Key Login
OS: DebianSSH: OpenSSH 8.2p1 Enabling SSH Key Login is a great way of protecting your SSH access to the cloud server. In the event that you still prefer password login (For convenience if you access the SSH server from multiple machine and does not want to port your...
Grep and cut Command by example with SSH logs – Brute Force
Linux: Debian 11 Grep is a very useful tools to quickly look through logs and text file. In this tutorial by example I will go through some useful commands and options that you can use to quickly get the ip address and username that is use to brute force your ssh...
Mount additional hard disk in Ubuntu 20.04 – Contabo
To mount additional hard disk in Ubuntu in Contabo. You will need to have root privilege to do it.Use fdisk to identified the disks in the system. Below is the link for the official guide https://contabo.com/blog/mounting-additional-hard-disks-linux/ fdisk -l If the...
Contabo – Fixing Console not working after installing GDE such as xfce4. – Ubuntu 20.04
Stuck at the above screen after you reboot your Ubuntu 20.04, this is a very common problem when you install Graphical Desktop Environment (GDE) such as xfce4, lightdm, Ubuntu Desktop etc in your Linux Environment. If you face the same issue. For those of you who have...
Assigning static IP Address to Guest VM in a nested KVM – Ubuntu 20.04
You can always manually configure the ip address of your guest VM especially you are going to expose the guest VM in your KVM or you can configure to use DHCP to assign a static ip address base on the virtual machine virtual MAC address. List the available network by...
KVM/QEMU – Creating a Bridge in Netplan and Defining the Bridge in QEMU with virsh define – Ubuntu 20.04
You can find the official Netplan configuration example in the link below. https://netplan.io/examples/#configuration This tutorial will focus on creating a bridge using netplan and define the bridge in QEMU/KVM so that you can attached the bridge to the Guest...
Configure Default Route using ip route – Ubuntu 20.04
While setting up your lab environment sometime it is useful to change the default route. In this tutorial I will show you how to quickly configure the default route and some of the commands to check the config. Using the command ip route add You can use ip route / ip...
Manually Resetting WordPress User Password through SSH
OS: Ubuntu 20.04.2 LTSDB: MariaDB 10.3.34Wordpress: 6.0 In this tutorial I am going to show you how to change the Wordpress User Password through SSH and mysql statement in 6 simple steps. Always backup you configuration before making changes so...