Linux disable firewall command

The specific command to disable a firewall on Linux depends on the firewall software that is currently in use. Some common firewall software on Linux include: iptables: sudo iptables -F sudo iptables -X sudo iptables -t nat -F sudo iptables -t nat -X sudo iptables -t mangle -F sudo iptables -t mangle -X sudo iptables … Read more

Arch Linux Change Hostname (computer name)

To change the hostname (computer name) on Arch Linux, you can use the hostnamectl command or edit the /etc/hostname file directly. Using the hostnamectl command: sudo hostnamectl set-hostname new_hostname Editing the /etc/hostname file: sudo nano /etc/hostname change the hostname to your desired hostname save the file and exit update the hostname in /etc/hosts file sudo … Read more

Configure Ubuntu Pi-hole for Cloudflare DNS over HTTPS

To configure Pi-hole on Ubuntu to use Cloudflare’s DNS over HTTPS (DoH) service, you’ll need to follow these steps: Install Pi-hole on your Ubuntu system following the official installation guide. Once Pi-hole is installed and running, log in to the web interface and navigate to the “Settings” page. Scroll down to the “DNS” section, and … Read more