I have this for my domain IPTABLES -A INPUT-m mac --mac-source 00:0C:29:83:52:D9 -d samba4 -p tcp -m multiport --dports 53,636,389,88,443,465,445,139,464,123,135,137,138,1024:2024