1,760
edits
Changes
no edit summary
* IP address: 192.168.x.20/24 on isolated private network
= System Software Requirement Configuration === Host name resolution ==* Primary DNS server for your domain:** Add A resource record: ds389.cp.net. IN A 192.168.x.20** Add PTR resource record: 20.x.168.192.in-addr.arpa. IN PTR ds389.cp.net.* If you don't have DNS, add the following record to /etc/hosts** 192.168.x.20 ds389.cp.net ds389== Firewall configuration ==You need to open tcp ports 389, 636 and 9830 for external access to your 389 directory server.=== firewalld.service ===Run the following commands to open the ports:<pre> firewall-cmd --permanent --add-port=389/tcp firewall-cmd --permanent --add-port=636/tcp firewall-cmd --permanent --add-port=9830/tcp</pre>You need to run the following command to update the current firewall settings:<pre> firewall-cmd --reload</pre>Please confirm your firewall settings with the following command:<pre>firewall-cmd --list-ports</pre>=== iptables.service ===Run the following command to open the ports<pre>iptables -I INPUT -p tcp --dport 389 -j ACCEPTiptables -I INPUT -p tcp --dport 636 -j ACCEPTiptables -I INPUT -p tcp --dport 9830 -j ACCEPT</pre>Run the command to save the current firewall settings:<pre>service iptables save</pre>
= 389-DS rpm packages =