port 53 closed and port 80 open
Posted: 2016/05/27 18:10:45
I need port 53 open for BIND configuration, after many tests I still get the following:
# firewall-cmd --zone=public --list-all
public (default)
interfaces:
sources:
services: dhcpv6-client dns http https smtp ssh
ports: 53/tcp 443/tcp 80/tcp 25/tcp 53/udp
masquerade: no
forward-ports:
icmp-blocks:
rich rules:
# nmap -p 53 5.226.169.119
Starting Nmap 6.40 ( http://nmap.org ) at 2016-05-27 13:50 BOT
Nmap scan report for mlp.riverocooper.com (5.226.169.119)
Host is up (0.000057s latency).
PORT STATE SERVICE
53/tcp closed domain
# nmap -p 80 5.226.169.119
Starting Nmap 6.40 ( http://nmap.org ) at 2016-05-27 13:50 BOT
Nmap scan report for mlp.riverocooper.com (5.226.169.119)
Host is up (0.000058s latency).
PORT STATE SERVICE
80/tcp open http
# systemctl status firewalld
* firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2016-05-27 13:46:15 BOT; 12min ago
Main PID: 3263 (firewalld)
CGroup: /system.slice/firewalld.service
`-3263 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
May 27 13:46:14 mlp systemd[1]: Starting firewalld - dynamic firewall daemon...
May 27 13:46:15 mlp systemd[1]: Started firewalld - dynamic firewall daemon.
May 27 13:46:15 mlp firewalld[3263]: 2016-05-27 13:46:15 ERROR: ebtables not usable, disabling ethernet bridge firewall.
# firewall-cmd --zone=public --list-all
public (default)
interfaces:
sources:
services: dhcpv6-client dns http https smtp ssh
ports: 53/tcp 443/tcp 80/tcp 25/tcp 53/udp
masquerade: no
forward-ports:
icmp-blocks:
rich rules:
# nmap -p 53 5.226.169.119
Starting Nmap 6.40 ( http://nmap.org ) at 2016-05-27 13:50 BOT
Nmap scan report for mlp.riverocooper.com (5.226.169.119)
Host is up (0.000057s latency).
PORT STATE SERVICE
53/tcp closed domain
# nmap -p 80 5.226.169.119
Starting Nmap 6.40 ( http://nmap.org ) at 2016-05-27 13:50 BOT
Nmap scan report for mlp.riverocooper.com (5.226.169.119)
Host is up (0.000058s latency).
PORT STATE SERVICE
80/tcp open http
# systemctl status firewalld
* firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2016-05-27 13:46:15 BOT; 12min ago
Main PID: 3263 (firewalld)
CGroup: /system.slice/firewalld.service
`-3263 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
May 27 13:46:14 mlp systemd[1]: Starting firewalld - dynamic firewall daemon...
May 27 13:46:15 mlp systemd[1]: Started firewalld - dynamic firewall daemon.
May 27 13:46:15 mlp firewalld[3263]: 2016-05-27 13:46:15 ERROR: ebtables not usable, disabling ethernet bridge firewall.