A
A
Alexander Nazarov2021-06-02 19:42:00
iptables
Alexander Nazarov, 2021-06-02 19:42:00

How to block all udp traffic in iptables?

How to block all udp traffic in iptables?
Operating system UBUNTU, installed DOCKER
Tried:

iptables -A INPUT -p udp -j DROP
iptables -A OUTPUT -p udp -j DROP
iptables -A DOCKER-p udp -j DROP

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2021-06-02
@CityCat4

where is -A FORWARD -p udp -j DROP?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question