Firewall Settings
The following settings are required. During installation the nem.firewalld file is copied from “/opt/nem/share/install/lib/nem.firewalld” to “/etc/firewalld/services/nem.xml”. Make sure the contents of the file “nem.xml” are as follows:
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>NEM Core Services</short>
<description>NEM Core Service required by NEM Software</description>
<port protocol="tcp" port="2809"/>
<port protocol="tcp" port="40000-40099"/>
<port protocol="udp" port="20736-20756"/>
<port protocol="tcp" port="10161"/>
<port protocol="udp" port="10162"/>
<port protocol="tcp" port="9005"/>
<port protocol="tcp" port="9006"/>
<port protocol="tcp" port="8086"/>
<port protocol="tcp" port="9443"/>
<port protocol="tcp" port="5671"/>
</service>
If you want to use CLIs you need the following additional entries in “nem.xml” as required:
<port protocol="tcp" port="2500"/>
<port protocol="tcp" port="2600"/>
<port protocol="tcp" port="2700"/>