If you knock, I'll let you in. Marking UDP traffic as Established.

By Brandon James on 2021-04-29 Tags: Security, Linux, Networking, GoPro

Despite being a connectionless protocol, many firewalls are able to track the state of UDP communication. One such firewall is IPtables on Linux. Let's consider a simple IPtables input policy permitting related and established traffic, but dropping everything else.