1
1
1kglv2020-07-19 22:50:05
iptables
1kglv, 2020-07-19 22:50:05

How to configure looback for iptables?

It is supposed to disable everything in iptables. And allow multiple ports.
Question - I allow outgoing looback connections if.
Does Input need to be allowed for looback ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hint000, 2020-07-20
@hint000

Yes, it needs to be allowed. Preferably at the very beginning of the INPUT chain, so as not to be mistakenly filtered by some prohibiting rule.
-A INPUT -i lo -j ACCEPT

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question