Guide for troubleshooting network services on a Linux system
This project is maintained by bertvv
The most important commands, usable in most situations. See the detailed guides for specific commands/things to check.
ip aip r (+ ping default gw)cat /etc/resolv.conf (+ dig www.google.com @a.b.c.d +short)nslookup, dig, getent ahostssudo systemctl status SERVICE.service
sudo systemctl start SERVICE.servicesudo systemctl enable SERVICE.servicesudo ss -tlnpsudo firewall-cmd --list-all
sudo firewall-cmd --add-service=SERVICE --permanentsudo firewall-cmd --add-port=PORT/tcp --permanentsudo systemctl restart firewalldsudo journalctl -f -u SERVICE.servicesudo systemctl restart SERVICE.service