Port 25 opened, why?

Issues related to configuring your network
Post Reply
mpzfm1
Posts: 8
Joined: 2018/11/23 13:24:10

Port 25 opened, why?

Post by mpzfm1 » 2018/11/23 13:26:40

How is this posible? nmap tells me port 25 its open but firewalld is not configured to have it opened....

Image

stevemowbray
Posts: 519
Joined: 2012/06/26 14:20:47

Re: Port 25 opened, why?

Post by stevemowbray » 2018/11/23 14:47:13

What is your nmap command? Are you scanning localhost?

silvio
Posts: 67
Joined: 2008/11/10 13:06:03

Re: Port 25 opened, why?

Post by silvio » 2018/11/23 14:48:02

You check that from localhost or from an external system?

Silvio

mpzfm1
Posts: 8
Joined: 2018/11/23 13:24:10

Re: Port 25 opened, why?

Post by mpzfm1 » 2018/11/23 18:49:37

sorry, its nmap localhost

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Port 25 opened, why?

Post by TrevorH » 2018/11/23 20:29:01

There is no point in nmapping localhost. No-one except you can get to it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

mpzfm1
Posts: 8
Joined: 2018/11/23 13:24:10

Re: Port 25 opened, why?

Post by mpzfm1 » 2018/11/23 20:53:22

thanks, but, why it says that is opened???? cant i use nmap to my localhost in order to know which ports are opened to outside????

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Port 25 opened, why?

Post by TrevorH » 2018/11/24 00:13:57

No. Scanning localhost will show you things that are only listening on localhost and are no danger at all. Likewise, it will also show you things that are listening on localhost as well as the external interface but won't tell you if there are firewall rules that restrict access thus making the port safe. It's pointless. If you want to know what's open externally, scan from outside against the external interface ip.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply