linux-network-troubleshooting

Guide for troubleshooting network services on a Linux system

This project is maintained by bertvv

Transport layer

In the transport layer, we’ll check whether the network service is actually running, what port it uses, and whether the firewall allows traffic on that port. An example for httpd is given, but this can be applied to other services.

Service and port

Firewall setting

Does the firewall allow traffic on the service? sudo firewall-cmd --list-all.

$ sudo firewall-cmd --list-all
[sudo] password for USER:
public (default, active)
  interfaces: enp0s3 enp0s8
  sources:
  services: dhcpv6-client mdns samba-client ssh http https
  ports:
  masquerade: no
  forward-ports:
  icmp-blocks:
  rich rules:

Check the output for the following items: