V
V
Vasya2019-07-11 17:08:02
linux
Vasya, 2019-07-11 17:08:02

Why is iptables empty and not all ports in netstat?

iptables -L shows that everything is allowed
netstat -ntulp shows only a set of ports, some with LISTEN status, others with empty status
Why so?
Does this mean that I can hang the application on any port and it will work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2019-07-11
@haramba

You yourself write that everything is allowed. This means that by raising a new service to the desired port, the port will be open and you will see it in netstat LISTEN.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question