Category: Linux

How to Use the UFW Firewall

ufw is the default firewall in Debian and Ubuntu Linux distributions. Below, we’ll look at some commonly used commands.

ufw enable #Enable ufw on boot
ufw allow 22/tcp #Allow all access to port 22
ufw default deny #Deny all by default
ufw allow from 10.0 …

How to Test Port Connectivity Using Nmap

nmap is a very handy free port testing and scanning tool that can test port connectivity. Below is a simple port test using this tool.
CentOS system: yum -y install nmap
Ubuntu system: apt -y install nmap

Test command: 8585 is the port to test.
nmap 192. …

RDesktop Daily Usage Guide

RDesktop is an excellent tool for remotely connecting to Windows from Linux.

For installation, refer to: Using rdesktop to remotely access a Windows host from Linux

Basic command:
rdesktop 192.168.1.xxx

Connection with username and password:
rdesktop 192.168.1.xxx -u administrat …