I have a port forwarded home server running CentOS 7 on my home network. I am trying to fix some issues with it and tried to do an nmap host discovery scan but it doesn't work and says that all hosts are down:
nmap -sL 192.168.1.0/24
I am trying to scan the IP 192.168.1.152 and tried to scan it with nmap:
nmap 192.168.1.152
nmap -Pn 192.168.1.152
It says the host is down. It is not.
I am able to ping 192.168.1.152 succesfully.
I have never had this problem with my server before I started using CentOS so it has to be a CentOS issue, but I have found absolutely no related issues for this online. What's going on?
EDIT: firewall-cmd --list-all output:
public (active)
target: default
icmp-block-inversion: no
interfaces: eth0
sources:
services: ftp http https openvpn ssh
ports: 1194/tcp 22/tcp
protocols:
masquerade: yes
forward-ports:
source-ports:
icmp-blocks:
rich rules: