How to open tcp port in red hat?

By default, Red Hat Enterprise Linux uses firewalld to manage network access. If you want to allow access to a specific TCP port, you need to add a rule through the firewall and apply the changes. Step 1: Check firewall status Before adding any rules, verify that firewalld is running: sudo systemctl status firewalld If […]

How To Test Internet Speed In CentOS 8

You can check internet speed on CentOS 8 easily using terminal-based tools without a browser or GUI. Step 1: Enable EPEL Enable the EPEL repo to access extra tools like speedtest-cli: sudo dnf install epel-release -y This gives you access to packages not in the default CentOS 8 repo. Step 2: Install Speedtest CLI Install […]

how to change python version on Debian 12

Debian 12 comes with Python 3 by default, but sometimes you need to use a different version — for compatibility, development, or running specific tools. Step 1: Check current version Start by checking which version of Python 3 is active on your system: python3 –version Debian 12 typically ships with Python 3.11 or similar, but […]

How to Install TeamViewer on Kali Linux

TeamViewer is a secure and popular remote desktop tool that lets you control another computer over the internet. It’s not available in the Kali Linux repositories by default, but you can install it easily using the terminal. Step 1: Download TeamViewer Start by downloading the official `.deb` package directly from TeamViewer’s servers: wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb This […]

how to setup l2tp vpn on Debian 12

Connecting to an L2TP/IPsec VPN server on Debian 12 via terminal is possible using strongSwan and xl2tpd. The setup below provides secure tunneling withoutrequiring any graphical interface. Step 1: Install VPN packages Start by installing the required tools to support L2TP and IPsec protocols: sudo apt update sudo apt install strongswan xl2tpd -y This gives […]

how to setup l2tp vpn on ubuntu 24.10?

If you want to connect your Ubuntu 24.10 system to an L2TP VPN using only the terminal. Step 1: Install required packages First, install the tools needed to run L2TP and IPsec tunnels: sudo apt update sudo apt install strongswan xl2tpd -y These tools allow Ubuntu to handle L2TP/IPsec VPN sessions securely. Step 2: Configure […]

How to Configure L2TP VPN on MikroTik

You can create a secure VPN access point on your MikroTik router using L2TP with IPsec. Step 1: Create IP pool Start by creating a dedicated IP range that will be assigned to VPN clients when they connect: /ip pool add name=l2tp-pool ranges=192.168.77.10-192.168.77.100 Step 2: Add PPP profile Now link that IP pool to a […]

How to install tor on kali linux

Tor helps you browse the web anonymously by routing your traffic through a network of volunteer relays. Kali Linux doesn’t come with Tor pre-installed, but setting it up is simple with a few terminal commands. Step 1: Update your package list Always update your repositories before installing new software to avoid broken or outdated packages. […]

How to set up 1.1.1.1 on linux with terminal

Cloudflare’s 1.1.1.1 DNS is known for speed and privacy. You can configure it easily on any Linux system using just the terminal. Step 1: Backup existing DNS settings Before making changes, it’s a good idea to back up your current DNS configuration. sudo cp /etc/resolv.conf /etc/resolv.conf.backup This creates a copy of your current DNS settings […]

How to install missing packages in Linux

If you run a command and get “command not found” or hit a dependency error, a missing package is likely the cause. Step 1: Update your package manager Before installing anything, refresh the package index so the system can find the latest versions. Ubuntu/Debian: sudo apt update ‎Fedora/RHEL: sudo dnf check-update This step helps prevent […]