Linux Iptables Open LDAP Server TCP Ports 389 and 636

Posted on in Categories , , , , , , , last updated August 16, 2009

The default Iptables configuration under CentOS / Red Hat / RHEL / Fedora Linux does not allow inbound access to LDAP service. How do I update iptables settings to allow access to the LDAP primary TCP #389 and encrypted-only TCP # 636 ports, while keeping all other ports on the server in their default protected state?

What Ports Need To Be Open For Samba To Communicate With Other Windows/Linux Systems?

Posted on in Categories , , , , last updated March 31, 2017

What ports need to be open for Samba to communicate with other windows/linux systems? I need to configure Linux firewall so I need the exact port TCP and UDP port numbers for SMB/CIFS networking protocol. Can you provide me a list of ports along with sample iptables rules?